Skip to content
This repository
Browse code

Removed the old .htaccess as it is no longer used

  • Loading branch information...
commit eea5dc3a34328267407f2cb861e14d9d1f5d7c02 1 parent 8b14686
David Heinemeier Hansson authored November 24, 2008

Showing 1 changed file with 0 additions and 40 deletions. Show diff stats Hide diff stats

  1. 40  railties/configs/apache.conf
40  railties/configs/apache.conf
... ...
@@ -1,40 +0,0 @@
1  
-# General Apache options
2  
-AddHandler fastcgi-script .fcgi
3  
-AddHandler cgi-script .cgi
4  
-Options +FollowSymLinks +ExecCGI
5  
-
6  
-# If you don't want Rails to look in certain directories,
7  
-# use the following rewrite rules so that Apache won't rewrite certain requests
8  
-# 
9  
-# Example:
10  
-#   RewriteCond %{REQUEST_URI} ^/notrails.*
11  
-#   RewriteRule .* - [L]
12  
-
13  
-# Redirect all requests not available on the filesystem to Rails
14  
-# By default the cgi dispatcher is used which is very slow
15  
-# 
16  
-# For better performance replace the dispatcher with the fastcgi one
17  
-#
18  
-# Example:
19  
-#   RewriteRule ^(.*)$ dispatch.fcgi [QSA,L]
20  
-RewriteEngine On
21  
-
22  
-# If your Rails application is accessed via an Alias directive,
23  
-# then you MUST also set the RewriteBase in this htaccess file.
24  
-#
25  
-# Example:
26  
-#   Alias /myrailsapp /path/to/myrailsapp/public
27  
-#   RewriteBase /myrailsapp
28  
-
29  
-RewriteRule ^$ index.html [QSA]
30  
-RewriteRule ^([^.]+)$ $1.html [QSA]
31  
-RewriteCond %{REQUEST_FILENAME} !-f
32  
-RewriteRule ^(.*)$ dispatch.cgi [QSA,L]
33  
-
34  
-# In case Rails experiences terminal errors
35  
-# Instead of displaying this message you can supply a file here which will be rendered instead
36  
-# 
37  
-# Example:
38  
-#   ErrorDocument 500 /500.html
39  
-
40  
-ErrorDocument 500 "<h2>Application error</h2>Rails application failed to start properly"

0 notes on commit eea5dc3

Please sign in to comment.
Something went wrong with that request. Please try again.