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: /usr/home/mhale/hieraki-1.0.2/public/frontpage/index File does not exist: /usr/home/mhale/hieraki-1.0.2/public/frontpage/index File does not exist: /usr/home/mhale/hieraki-1.0.2/public/frontpage/index So apache is reading "frontpage/index" as a file path and not as an action. Please Help. Fahq -- Posted via http://www.ruby-forum.com/.
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. -Nick On 12/29/05, Fahq <jasonm-zG5EM6xpk5nc+919tysfdA@public.gmane.org> wrote:> > > 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: > /usr/home/mhale/hieraki-1.0.2/public/frontpage/index > File does not exist: > /usr/home/mhale/hieraki-1.0.2/public/frontpage/index > File does not exist: > /usr/home/mhale/hieraki-1.0.2/public/frontpage/index > > So apache is reading "frontpage/index" as a file path and not as an > action. > > Please Help. > > Fahq > > > -- > Posted via http://www.ruby-forum.com/. > _______________________________________________ > Rails mailing list > Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > http://lists.rubyonrails.org/mailman/listinfo/rails >
Nick 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 # Example: # RewriteCond %{REQUEST_URI} ^/notrails.* # RewriteRule .* - [L] # Example: RewriteEngine On RewriteRule ^$ index.html [QSA] RewriteRule ^(.*)$ dispatch.fcgi [QSA,L] RewriteRule ^([^.]+)$ $1.html [QSA] RewriteCond %{REQUEST_FILENAME} !-f #RewriteRule ^(.*)$ dispatch.cgi [QSA,L] -- Posted via http://www.ruby-forum.com/.