[Catalyst] Re: Dreamhost help
Fayland Lam
fayland at gmail.com
Fri Dec 14 07:34:08 GMT 2007
Ashley Pond V wrote:
> 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
thanks for your reply.
truly I did what u said.
[spyro]$ ls -ls TestApp/script/
4 -rwxr-xr-x 1 user group 1816 2007-12-13 23:27 dispatch.fcgi
and then http://www.foorumbbs.com/test.fcgi is running so FastCGI is
enabled.
hmm. I have no idea what I should do with it. I just catalyst.pl
TestApp, then change filename of fastcgi.pl.
Any more help is appreciated.
Thanks.
>
> 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@lists.rawmode.org/
>> Dev site: http://dev.catalyst.perl.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@lists.rawmode.org/
> Dev site: http://dev.catalyst.perl.org/
>
--
Fayland Lam // http://www.fayland.org/
More information about the Catalyst
mailing list