[Catalyst] Problems With FastCGI
Bill Moseley
moseley at hank.org
Thu Feb 2 15:25:33 CET 2006
On Thu, Feb 02, 2006 at 09:00:18AM -0500, hkclark at gmail.com wrote:
> On 2/1/06, Bill Moseley <moseley at hank.org> wrote:
> >
> > On Wed, Feb 01, 2006 at 09:44:27PM -0500, hkclark at gmail.com wrote:
> > > STDIN is not a socket; specify a listen location at
> >
> > Did you specify -l ?
>
>
> Thanks for your note. Based on Day 17 of the advent, I thought -l was only
> for the standalone mode. I can see where this would fix this issue, but I'm
> confused how the "non-standalone" method (discussed under the "Setup"
> heading in the advent) would ever work??
Yes, that's right. Sounds like you might be trying to run the
fastcgi.pl script as a plain cgi script.
Are you sure you are telling Apache to run it as a FastCGI script?
You would get that "STDIN is not a socket" if running as CGI.
FastCgiServer /var/www/MyApp/script/myapp_fastcgi.pl -processes 3
Alias /myapp/ /var/www/MyApp/script/myapp_fastcgi.pl/
I tend to create a new httpd.conf file when testing instead of using
adding to an existing httpd.conf.
Post your apache config, if still having trouble.
--
Bill Moseley
moseley at hank.org
More information about the Catalyst
mailing list