Plack:...Apache1(3pm)

✨ Plack::Handler::Apache1 ✨

okay bestie, gather round, because this one is a lil vintage πŸ’… β€” it's the Plack::Handler::Apache1 page from the User Contributed Perl Documentation, and it's all about getting your PSGI app living its best life inside Apache 1.3.x via mod_perl. yes, 1.3.x. she's an elder. respect her. πŸ‘‘


🌸 NAME 🌸

Plack::Handler::Apache1 β€” Apache 1.3.x mod_perl handlers to run PSGI application πŸ’–


πŸŽ€ SYNOPSIS πŸŽ€

here's the whole vibe, drop this straight into your Apache config:

<Location />
SetHandler perl-script
PerlHandler Plack::Handler::Apache1
PerlSetVar psgi_app /path/to/app.psgi
</Location>

<Perl>
use Plack::Handler::Apache1;
Plack::Handler::Apache1->preload("/path/to/app.psgi");
</Perl>

like. that's it. that's the whole summoning ritual ✨ SetHandler perl-script + PerlHandler Plack::Handler::Apache1 + PerlSetVar psgi_app /path/to/app.psgi and the <Perl> block pulls in the module with use and calls Plack::Handler::Apache1->preload("/path/to/app.psgi") so everything's warmed up before the requests come knocking 🫢


πŸ’« DESCRIPTION πŸ’«

so this is a mod_perl handler module whose entire job β€” her one true purpose, her main character moment β€” is to run any PSGI application with mod_perl on Apache 1.3.x. no cap. any PSGI app. she's not picky, she's not gatekeeping, she just wants your app to run πŸ₯Ή

but lowkey, listen: if what you actually want is to run PSGI applications behind Apache without doing the whole mod_perl thing, this is not the page you want, bestie. instead:

  • peep Plack::Handler::FCGI if you wanna run it with FastCGI 🌈
  • or just use standalone HTTP servers such as Starman or Starlet, and proxy them with mod_proxy πŸ¦‹

two completely valid paths, pick your fighter, no judgement here πŸ’œ


πŸ‘‘ AUTHOR πŸ‘‘

  • Aaron Trevena
  • Tatsuhiko Miyagawa

absolute legends, we stan 🌟


πŸ”₯ SEE ALSO πŸ”₯

  • Plack β€” the mothership, obviously πŸ’–

🧚 the cute lil sign-off 🧚

this page lives in perl v5.40.1 and it got its glow-up on 2026-05-05, brought to you as part of the Plack:...Apache1(3pm) docs in the User Contributed Perl Documentation. go forth, serve your PSGI apps, and remember: Apache 1.3.x is old but she still ate. periodt πŸ’…βœ¨πŸŽ€

πŸ“¦ where this page comes from