diff options
author | francis <francis> | 2008-04-10 19:43:47 +0000 |
---|---|---|
committer | francis <francis> | 2008-04-10 19:43:47 +0000 |
commit | 4e8004effb53b4c489995f913cc8c45681419a5e (patch) | |
tree | f3ccbad809534df574c25bc6641c07ad304e518a | |
parent | ffd092f35d2295185754b94423d989d027a972df (diff) |
Not needed with Mongrel.
-rw-r--r-- | public/.htaccess | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/public/.htaccess b/public/.htaccess index 8c381e930..a82341347 100644 --- a/public/.htaccess +++ b/public/.htaccess @@ -1,8 +1,8 @@ -# General Apache options -AddHandler fastcgi-script .fcgi -AddHandler cgi-script .cgi -Options +FollowSymLinks +ExecCGI -DirectoryIndex dispatch.fcgi +# Apache options for FastCGI +#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 @@ -27,10 +27,10 @@ RewriteEngine On # Alias /myrailsapp /path/to/myrailsapp/public # RewriteBase /myrailsapp -RewriteRule ^$ index.html [QSA] -RewriteRule ^([^.]+)$ $1.html [QSA] -RewriteCond %{REQUEST_FILENAME} !-f -RewriteRule ^(.*)$ dispatch.fcgi [QSA,L] +#RewriteRule ^$ index.html [QSA] +#RewriteRule ^([^.]+)$ $1.html [QSA] +#RewriteCond %{REQUEST_FILENAME} !-f +#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 @@ -39,3 +39,4 @@ RewriteRule ^(.*)$ dispatch.fcgi [QSA,L] # ErrorDocument 500 /500.html ErrorDocument 500 "<h2>Application error</h2>Rails application failed to start properly" + |