Htaccess file by default.
What my .htaccess file should include to work in rails is what I have now and I want to make sure it is correct:
AddHandler fastcgi- script.fcgi
Parameters + FollowSymLinks + ExecCGI
RewriteEngine On
RewriteRule ^ $ index.html [QSA]
RewriteRule ^ ([^.] +) $$ 1.html [QSA]
RewriteCond% {REQUEST_FILENAME}! -f
RewriteRule ^ (. *) $ Dispatch.fcgi [QSA, L]
0
a source to share
3 answers
This is the one I used that worked. Just start any other you need for rubies on rails with fcgi (FastCGI)
AddHandler fastcgi-script.fcgi
AddHandler cgi-script.cgi
Parameters + FollowSymLinks + ExecCGI
RewriteEngine On
RewriteRule ^ $ index.html [QSA]
RewriteRule ^ ([^.] +) $$ 1.htAME [QSA]
RewriteCond% {REQUEST_FIL ! -f
RewriteRule ^ (. *) $ Dispatch.fcgi [QSA, L]
+1
a source to share