Perl-Sensitive Sunglasses | |
PerlMonks |
Re: Dancer app works until I run it with Plack::Handler::Apache2by kcott (Archbishop) |
on Apr 01, 2022 at 04:31 UTC ( [id://11142586]=note: print w/replies, xml ) | Need Help?? |
G'day LittleJack, From your post yesterday (Starting out with Dancer and falling at the first hurdle) you're using Dancer2. The link you've provided is for Dancer documentation; the Dancer2 equivalent is https://metacpan.org/dist/Dancer2/view/lib/Dancer2/Manual/Deployment.pod#With-Plack. I had a quick look and can't see any substantial differences; however, it's better to use the right version of the documentation. "Which perl and which libraries is my Apache (2.4.7) trying to use?" Either modify your app.psgi, or write a new one, which outputs various version (and perhaps other) information. A very rough, command line example:
Other suggestions:
Note that I'm attempting to guess what your app.psgi and Apache config look like. Something more concrete from you would be helpful. — Ken
In Section
Seekers of Perl Wisdom
|
|