[Catalyst] Fwd: Fastcgi error: STDIN is not a socket

Carl Franks fireartist at gmail.com
Fri Mar 24 16:29:37 CET 2006

On 24/03/06, Jonas Alves <jonas.alves at co.clix.pt> wrote:

> My .htaccess just has this:
> RewriteEngine On
> RewriteCond  %{REQUEST_URI}  ^/static/
> RewriteRule  ^/(.*)$ /home/tglclube/TGLC/root/$1 [L]
> RewriteCond %{REQUEST_URI} !^/script/
> RewriteCond %{REQUEST_URI} !^/static/
> RewriteRule ^(.*)$ script/tglc_cgi.pl/$1 [PT,L]

As I said earlier,

> > (assuming the webserver has mod_fastcgi installed...)
> > you need to add something like
> >     AddHandler fastcgi-script .pl
> > to the config for the folder containing the .pl file
> > (usually in the .htaccess file)
> >
> > If it's already set up to server files with a specific extension, such
> > as .fcgi, appropriately, then you need to rename the .pl file to end
> > with that extension.
> >
> > Carl
> Thanks Carl. Thats what i did.

Which did you do?
You either have to rename fastcgi.pl so its extension is handled by fastcgi,
or add a "AddHandler fastcgi-script .pl" line to the .htaccess file in
the "scripts" directory.


More information about the Catalyst mailing list