NAME
Apache2::Mojo - mod_perl2 handler for Mojo
VERSION
version 0.001
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
AUTHOR
Uwe Voelker, <uwe.voelker@gmx.de>