Suporte a enderecos relativos

This commit is contained in:
2008-03-02 18:30:31 -03:00
parent 5e4951fa47
commit c5cb69f277
20 changed files with 41 additions and 36 deletions

View File

@@ -29,7 +29,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 +37,4 @@ RewriteRule ^(.*)$ dispatch.cgi [QSA,L]
# Example:
# ErrorDocument 500 /500.html
ErrorDocument 500 "<h2>Application error</h2>Rails application failed to start properly"
ErrorDocument 500 "<h2>Application error</h2>Rails application failed to start properly"