Skip to content

Instantly share code, notes, and snippets.

@clkao
Created October 19, 2010 12:48
Show Gist options
  • Save clkao/634134 to your computer and use it in GitHub Desktop.
Save clkao/634134 to your computer and use it in GitHub Desktop.
<Location />
SetHandler perl-script
PerlResponseHandler Plack::Handler::Apache2
PerlSetVar psgi_app /path/to/app.psgi
</Location>
# Optional, preload the application in the parent like startup.pl
<Perl>
use Plack::Handler::Apache2;
Plack::Handler::Apache2->preload("/path/to/app.psgi");
</Perl>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment