| Apache2-Mojo documentation | view source | Contained in the Apache2-Mojo distribution. |
Apache2::Mojo - mod_perl2 handler for Mojo
version 0.004
in httpd.conf:
<Perl>
use lib '...';
use Apache2::Mojo;
use TestApp;
</Perl>
<Location />
SetHandler perl-script
PerlSetEnv MOJO_APP TestApp
PerlHandler Apache2::Mojo
</Location>
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).
Apache2, Mojo, Mojolicious.
Uwe Voelker, <uwe.voelker@gmx.de>
| Apache2-Mojo documentation | view source | Contained in the Apache2-Mojo distribution. |