Permalink
Browse files

More documentation for .htaccess #1137

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1213 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
  • Loading branch information...
dhh committed Apr 18, 2005
1 parent 49d0f0c commit 9aaea3ba73005a69873c6a889bce5f5a54a230a1
Showing with 7 additions and 0 deletions.
  1. +7 −0 railties/configs/apache.conf
@@ -3,6 +3,13 @@ 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
#

0 comments on commit 9aaea3b

Please sign in to comment.