diff options
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 # |