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

NAME

Apache2::Mojo - mod_perl2 handler for Mojo

VERSION

version 0.004

SYNOPSIS

in httpd.conf:

  <Perl>
    use lib '...';
    use Apache2::Mojo;
    use TestApp;
  </Perl>

  <Location />
     SetHandler  perl-script
     PerlSetEnv  MOJO_APP TestApp
     PerlHandler Apache2::Mojo
  </Location>

DESCRIPTION

This is a mod_perl2 handler for Mojo/Mojolicious.

Set the application class with the environment variable MOJO_APP.

MOJO_RELOAD is also supported (e. g. PerlSetEnv MOJO_RELOAD 1).

SEE ALSO

Apache2, Mojo, Mojolicious.

AUTHOR

Uwe Voelker, <uwe.voelker@gmx.de>