Problem with apache and rubyonrails


I am setting up my httpd.conf file so I can secure a site create in
RubyonRails. The problem that I am having is:
File does not exist:
File does not exist:
File does not exist:

So apache is reading “frontpage/index” as a file path and not as an

Please Help.



Did you change the .htaccess file so that is uses .fcgi instead of
.cgi? Dont know if this would cause that error or not, but it might.

And did you also uncomment mod_rewrite in the conf file. This looks
like it might be more the case.




Thanks for the reply. I will show you my .htaccess file, thanks for the
reminder I did have mod_rewrite uncomm.

General Apache options

AddHandler fastcgi-script .fcgi
AddHandler cgi-script .cgi
Options +FollowSymLinks +ExecCGI


RewriteCond %{REQUEST_URI} ^/notrails.*

RewriteRule .* - [L]


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