diff options
author | David Heinemeier Hansson <david@loudthinking.com> | 2005-04-18 18:57:56 +0000 |
---|---|---|
committer | David Heinemeier Hansson <david@loudthinking.com> | 2005-04-18 18:57:56 +0000 |
commit | 9aaea3ba73005a69873c6a889bce5f5a54a230a1 (patch) | |
tree | 0a45935c711314a92f9b3c19211a45b99b32d0cd /railties | |
parent | 49d0f0cb66bc7b6d9cf69bd07b168669b3818cee (diff) | |
download | rails-9aaea3ba73005a69873c6a889bce5f5a54a230a1.tar.gz rails-9aaea3ba73005a69873c6a889bce5f5a54a230a1.tar.bz2 rails-9aaea3ba73005a69873c6a889bce5f5a54a230a1.zip |
More documentation for .htaccess #1137
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1213 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'railties')
-rwxr-xr-x | railties/configs/apache.conf | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/railties/configs/apache.conf b/railties/configs/apache.conf index bf24511506..fe68ae5d42 100755 --- a/railties/configs/apache.conf +++ b/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 # |