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:#!<full path to plackup> -s FCGI
But it does not work - apache says file "/var/www/foo" does not exist, so evidently I am doing it totally wrong...<Location "/foo"> FcgidWrapper "<path to plack-app>" virtual </Location>
Can someone help me here?
Many thanks!
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Plack and mod_fcgid
by locked_user sundialsvc4 (Abbot) on Sep 26, 2011 at 12:36 UTC | |
by morgon (Priest) on Sep 26, 2011 at 16:52 UTC |