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

Jonas Alves jonas.alves at co.clix.pt
Fri Mar 24 16:21:53 CET 2006


On Friday 24 March 2006 15:03, Carl Franks wrote:
> Did you make any changes in the plain CGI script to get it to work,
> such as changing the path to perl?
> Is the path to perl in your fastcgi script correct.
>
> If it's not that, I think you need to post your .htaccess changes to
> the list, as there's not enough info to know what's wrong.
>
> Cheers,
> Carl
>

Yes, i changed the "use lib" lines to match my local perl instalation.
But they are equal in both scripts.
If i call the palin cgi script (http://tglclube.com/script/tglc_cgi.pl) it 
works fine but the fastcgi one (http://tglclube.com/script/tglc_fastcgi.fpl) 
doesn't. Just bails out with:

[Fri Mar 24 07:13:01 2006] [error] [client 195.23.92.74] FastCGI: comm with 
(dynamic) server "/home/tglclube/TGLC/script/tglc_fastcgi.fpl" aborted: 
(first read) idle timeout (120 sec)
[Fri Mar 24 07:13:01 2006] [error] [client 195.23.92.74] FastCGI: incomplete 
headers (0 bytes) received from server 
"/home/tglclube/TGLC/script/tglc_fastcgi.fpl"

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]

But it remains the same if i remove the file. :/

Thanks any way
--Jonas



More information about the Catalyst mailing list