Forum: Ruby on Rails dispatch.fcgi is presented instead of the action

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
408a4e38946d3aa2fca0450ec357d06a?d=identicon&s=25 Shuaib Zahda (shuaib85)
on 2009-06-05 18:43
(Received via mailing list)
Hi there
I am trying to setup my first application on the server and i keep
getting the content of dispatch.fcgi

after i googled it, i found that i have to have .htaccess which i had
in the public folder.

you can check it here
http://www.bluestar.ps/tests

any idea what is this problem and what is the solution
020b2f032621e29844cca71304201364?d=identicon&s=25 Matt Kellogg (Guest)
on 2009-06-06 01:13
(Received via mailing list)
What are the contents of your .htaccess?

It should probably look something like this:

RewriteEngine On
RewriteBase /
RewriteRule ^$ index.html [QSA]
RewriteRule ^([^.]+)$ $1.html [QSA]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ dispatch.fcgi [QSA,L]

Matt
408a4e38946d3aa2fca0450ec357d06a?d=identicon&s=25 Shuaib Zahda (shuaib85)
on 2009-06-12 13:06
(Received via mailing list)
Thanks for the reply. I have the same configurations
9a2a53db8e9b4476038c94a64b32833f?d=identicon&s=25 Ryan Bigg (ryan-bigg)
on 2009-06-12 14:30
(Received via mailing list)
I really recommend that you look into something like passenger:
http://modrails.com for running your Rails applications, rather than
mod_fcgi or the like.
408a4e38946d3aa2fca0450ec357d06a?d=identicon&s=25 Shuaib Zahda (shuaib85)
on 2009-06-13 07:51
(Received via mailing list)
Thanks for the recommendation. Unfortunately, my client wanted to host
by himself and he chose this server which has no good support for
rails.
This topic is locked and can not be replied to.