Rails not running FCGI

Rails not running FCGI

Posted by: trak3r
Posted on: 2007-02-04 08:37:00

I've got my Rails site up and running thanks to the Wiki walkthrough but for some reason the dispatch.cgi is always executed and never the dispatch.fcgi

I have enabled FastCGI in my control panel.

Any suggestions? Thanks.

Re: Rails not running FCGI

Posted by: ssierr
Posted on: 2007-02-05 07:23:00

You probably need to change the line in your 'public/.htaccess' file from the Rails default:

RewriteRule ^(.*)$ dispatch.cgi [QSA,L]

to this:

RewriteRule ^(.*)$ dispatch.fcgi [QSA,L]


Stuart Sierra
Program on Law & Technology, Columbia Law School

Re: Rails not running FCGI

Posted by: trak3r
Posted on: 2007-02-05 13:51:00

Bingo! Thanks.

Tags: fcgifastcgiwikicontrol panel