MVC::Neaf::Request::Apache2 - Apache2 (mod_perl) driver for Not Even A Framework.
Apache2 request that will invoke MVC::Neaf core functions from under mod_perl.
Much to the author's disgrace, this module currently uses BOTH Apache2::RequestRec and Apache2::Request from libapreq.
The following apache configuration should work with this module:
LoadModule perl_module modules/mod_perl.so PerlSwitches -I[% YOUR_LIB_DIRECTORY %] LoadModule apreq_module [% modules %]/mod_apreq2.so # later... PerlModule MVC::Neaf::Request::Apache2 PerlPostConfigRequire [% YOUR_APPLICATION %] <Location /[% SOME_URL_PREFIX %]> SetHandler perl-script PerlResponseHandler MVC::Neaf::Request::Apache2 </Location>
Convert apache upload object into MCV::Neaf::Upload.
Write to socket if async content serving is in use.
A valid Apache2/mod_perl handler.
This invokes MCV::Neaf->handle_request when called.
Unfortunately, libapreq (in addition to mod_perl) is required currently.
If Apache modules failed to load on startup, report error here.
This is done so because adding Apache2::* as dependencies would impose a HUGE headache on PSGI users.
Ideally, this module should be mover out of the repository altogether.
To install MVC::Neaf, copy and paste the appropriate command in to your terminal.
cpanm
cpanm MVC::Neaf
CPAN shell
perl -MCPAN -e shell install MVC::Neaf
For more information on module installation, please visit the detailed CPAN module installation guide.