The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Jifty::Script::ModPerl2 - a ModPerl2 handler for your jifty app.

DESCRIPTION

This handler should be used with Apache2 and ModPerl2. It requires the DocumentRoot of its VirtualHost to be set to the base directory of your jifty application.

Here is the relevant minimal httpd.conf section:

  <VirtualHost *:80>
    DocumentRoot /path/to/base/dir/of/app
    SetHandler perl-script
    PerlHandler Jifty::Script::ModPerl2
  </VirtualHost>

It would not necessarily need to be a VirtualHost- could be a Directory, and should configure about the same.

TODO: This should be set up to serv the static files without mod_perl.

handler

The mod_perl handler for the app