[Catalyst] Dreamhost help

Ashley Pond V apv at sedition.com
Fri Dec 14 06:47:44 GMT 2007


You have to enable fastcgi in their panel, not in the .htaccess. Did  
you do that?

Also, I learned the hard way. Always name your app script  
dispatch.fcgi. They are much more aggressive about killing long  
running processes with other names.

Executables should be in 755 or better. IIRC DreamHost will not let  
any CGIs run (don't know about FCGIs) with anything more permissive  
than that.

-Ashley

On Dec 13, 2007, at 10:25 PM, Fayland Lam wrote:

> I run catalyst.pl TestApp
> then vim .htaccess
>
> AddHandler fastcgi-script .fcgi
> Options +FollowSymLinks +ExecCGI
>
> RewriteEngine On
> RewriteCond %{REQUEST_URI} !^/?TestApp/script/testapp_fastcgi.fcgi
> RewriteRule ^(.*)$ TestApp/script/testapp_fastcgi.fcgi/$1 [PT,L]
> ~
>
> I changed filename to fcgi and chmod 0777 it.
>
> then I get
>
> [Thu Dec 13 22:24:00 2007] [error] [client 123.14.76.87] FastCGI:  
> comm with (dynamic) server "/home/faylandfoorum/foorumbbs.com/ 
> TestApp/script/testapp_fastcgi.fcgi" aborted: (first read) idle  
> timeout (60 sec)
> [Thu Dec 13 22:24:00 2007] [error] [client 123.14.76.87] FastCGI:  
> incomplete headers (0 bytes) received from server "/home/ 
> faylandfoorum/foorumbbs.com/TestApp/script/testapp_fastcgi.fcgi"
>
> any tips? anyone use dreamhost?
>
> -- 
> Fayland Lam // http://www.fayland.org/
>
> _______________________________________________
> List: Catalyst at lists.scsys.co.uk
> Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
> Searchable archive: http://www.mail-archive.com/ 
> catalyst at lists.rawmode.org/
> Dev site: http://dev.catalyst.perl.org/




More information about the Catalyst mailing list