Rails not running FCGI

software development


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.


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

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

Stuart Sierra
Program on Law & Technology, Columbia Law School


Bingo! Thanks.