From 9aaea3ba73005a69873c6a889bce5f5a54a230a1 Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Mon, 18 Apr 2005 18:57:56 +0000 Subject: More documentation for .htaccess #1137 git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1213 5ecf4fe2-1ee6-0310-87b1-e25e094e27de --- railties/configs/apache.conf | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'railties/configs/apache.conf') 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 # -- cgit v1.2.3