Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re^2: Odd behavior when trying to preload Plack apps under mod_perl

by Anonymous Monk
on Sep 09, 2022 at 02:23 UTC ( [id://11146772]=note: print w/replies, xml ) Need Help??


in reply to Re: Odd behavior when trying to preload Plack apps under mod_perl
in thread Odd behavior when trying to preload Plack apps under mod_perl

https://metacpan.org/pod/Plack::Handler::Apache2 warns of https://metacpan.org/pod/Class::Load issues

https://metacpan.org/pod/Dancer%3a%3aDeployment#Running-from-Apache-under-appdir (i know not dancer2 ) warns of Plack::Handler::Apache2 issues

NOTE: Only a single Dancer application can be deployed using the Plack::Handler::Apache2 method. Multiple Dancer applications will not work properly (The routes will be mixed-up between the applications). It's recommended to start each app with plackup using your favorite server (Starman, for example) and then put a web server (Apache, Nginx, Perlbal, etc.) as a frontend server for both apps using reverse proxy (HTTP based, no fastcgi).

both warnings should have linked to a test case, as both bugs are dumb

  • Comment on Re^2: Odd behavior when trying to preload Plack apps under mod_perl

Replies are listed 'Best First'.
Re^3: Odd behavior when trying to preload Plack apps under mod_perl
by cLive ;-) (Prior) on Sep 13, 2022 at 22:03 UTC

    Thanks for that insight. I missed it!

    Unfortunately I can't spin the apps up separately because they need to run alongside mod_perl to expose code from the existing app, but this helps.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11146772]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others pondering the Monastery: (7)
As of 2024-04-23 08:24 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found