Welcome Guest | Login

My rails app shows the content of dispatch.fcgi

I deployed the rails app with FastCGI. but it fails.

I followed the tutorial.

I confirmed 'AddHandler fastcgi-script .fcgi' is commented out.

I changed
RewriteRule ^(.*)$ dispatch.cgi [QSA,L]
to
RewriteRule ^(.*)$ dispatch.fcgi [QSA,L].

The permission of dispatch.fcgi is 755.

But it shows the content of dispatch.fcgi.
What's wrong?

2008-02-19 07:05 AM

Usually such error occur when 'AddHandler fastcgi-script.fcgi' is not commented in .htaccess.
Please double check this.
Please give it careful read and let us know if you have questions.

2008-02-19 07:46 AM

HostingRails Support
It worked!

Thanks.

I misunderstood.
But I don't understand why this handler should be commented out.
It's included in httpd.conf?

2008-02-19 09:01 AM


Hello Guest! In order to post you must be an active client with us, please log in or sign up.