|Perl Monk, Perl Meditation|
Plack and mod_fcgidby morgon (Curate)
|on Sep 26, 2011 at 11:11 UTC||Need Help??|
morgon has asked for the
wisdom of the Perl Monks concerning the following question:
Sorry for abusing this forum as my problem is more of an apache-configuration isse but maybe the answer could be useful to other people as well...
I have a Plack-application that I want to run as fast-cgi under apache using mod_fcgid and I cannot figure out how to do this.
What I want is that all urls starting with "/foo" to be handled by this Plack-app.
The first line of my app looks like this:
And I have added the following to the apache-config file:
But it does not work - apache says file "/var/www/foo" does not exist, so evidently I am doing it totally wrong...
Can someone help me here?