diff options
Diffstat (limited to 'public/.htaccess')
-rw-r--r-- | public/.htaccess | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/public/.htaccess b/public/.htaccess index d3c998345..8c381e930 100644 --- a/public/.htaccess +++ b/public/.htaccess @@ -2,6 +2,7 @@ AddHandler fastcgi-script .fcgi AddHandler cgi-script .cgi Options +FollowSymLinks +ExecCGI +DirectoryIndex dispatch.fcgi # If you don't want Rails to look in certain directories, # use the following rewrite rules so that Apache won't rewrite certain requests @@ -29,7 +30,7 @@ RewriteEngine On RewriteRule ^$ index.html [QSA] RewriteRule ^([^.]+)$ $1.html [QSA] RewriteCond %{REQUEST_FILENAME} !-f -RewriteRule ^(.*)$ dispatch.cgi [QSA,L] +RewriteRule ^(.*)$ dispatch.fcgi [QSA,L] # In case Rails experiences terminal errors # Instead of displaying this message you can supply a file here which will be rendered instead @@ -37,4 +38,4 @@ RewriteRule ^(.*)$ dispatch.cgi [QSA,L] # Example: # ErrorDocument 500 /500.html -ErrorDocument 500 "<h2>Application error</h2>Rails application failed to start properly"
\ No newline at end of file +ErrorDocument 500 "<h2>Application error</h2>Rails application failed to start properly" |