Another option is to mock your Apache2::RequestRec object using Plack. This is the road explored by Plack::App::WrapApacheReq. With very little work this enables you to run your mod_perl application with any Plack handler you want. You can run your application as a stand alone server or serve it with nginx trough FastCGI.
Plack::App::WrapApacheReq takes existing mod_perl2 handler application and mocks the required Apache2::RequestRec methods using PSGI/Plack environment. Absolutely wonderful stuff.
Comments
You can follow this conversation by subscribing to the comment feed for this post.