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

Jonas Alves jonas.alves at co.clix.pt
Fri Mar 24 18:29:41 CET 2006


On Friday 24 March 2006 15:29, Carl Franks wrote:
> 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.
>
> Carl

Yes, you're right. I think i guessed that a symlink would do the trick. Insted 
of renaming the file to .fpl (the extension used in DreamHost) i symlinked 
a .fpl to it. But that was the problem. It has to be a real file.
Thanks again Carl, and forgive me to not hear you right the first time.

--Jonas

>
> _______________________________________________
> Catalyst mailing list
> Catalyst at lists.rawmode.org
> http://lists.rawmode.org/mailman/listinfo/catalyst



More information about the Catalyst mailing list