aboutsummaryrefslogtreecommitdiffstats
path: root/railties/configs/apache.conf
diff options
context:
space:
mode:
authorDavid Heinemeier Hansson <david@loudthinking.com>2008-11-24 11:09:06 +0100
committerDavid Heinemeier Hansson <david@loudthinking.com>2008-11-24 11:09:06 +0100
commiteea5dc3a34328267407f2cb861e14d9d1f5d7c02 (patch)
tree216c639262b64bbeb750189bed4113477d3520ef /railties/configs/apache.conf
parent8b14686892f278cc73c84bd7c13cabef2ccfeb96 (diff)
downloadrails-eea5dc3a34328267407f2cb861e14d9d1f5d7c02.tar.gz
rails-eea5dc3a34328267407f2cb861e14d9d1f5d7c02.tar.bz2
rails-eea5dc3a34328267407f2cb861e14d9d1f5d7c02.zip
Removed the old .htaccess as it is no longer used
Diffstat (limited to 'railties/configs/apache.conf')
-rw-r--r--railties/configs/apache.conf40
1 files changed, 0 insertions, 40 deletions
diff --git a/railties/configs/apache.conf b/railties/configs/apache.conf
deleted file mode 100644
index d9d211c058..0000000000
--- a/railties/configs/apache.conf
+++ /dev/null
@@ -1,40 +0,0 @@
-# General Apache options
-AddHandler fastcgi-script .fcgi
-AddHandler cgi-script .cgi
-Options +FollowSymLinks +ExecCGI
-
-# If you don't want Rails to look in certain directories,
-# use the following rewrite rules so that Apache won't rewrite certain requests
-#
-# Example:
-# RewriteCond %{REQUEST_URI} ^/notrails.*
-# RewriteRule .* - [L]
-
-# Redirect all requests not available on the filesystem to Rails
-# By default the cgi dispatcher is used which is very slow
-#
-# For better performance replace the dispatcher with the fastcgi one
-#
-# Example:
-# RewriteRule ^(.*)$ dispatch.fcgi [QSA,L]
-RewriteEngine On
-
-# If your Rails application is accessed via an Alias directive,
-# then you MUST also set the RewriteBase in this htaccess file.
-#
-# Example:
-# Alias /myrailsapp /path/to/myrailsapp/public
-# RewriteBase /myrailsapp
-
-RewriteRule ^$ index.html [QSA]
-RewriteRule ^([^.]+)$ $1.html [QSA]
-RewriteCond %{REQUEST_FILENAME} !-f
-RewriteRule ^(.*)$ dispatch.cgi [QSA,L]
-
-# In case Rails experiences terminal errors
-# Instead of displaying this message you can supply a file here which will be rendered instead
-#
-# Example:
-# ErrorDocument 500 /500.html
-
-ErrorDocument 500 "<h2>Application error</h2>Rails application failed to start properly"