aboutsummaryrefslogtreecommitdiffstats
path: root/railties/configs/apache.conf
diff options
context:
space:
mode:
authorDavid Heinemeier Hansson <david@loudthinking.com>2004-12-22 14:38:36 +0000
committerDavid Heinemeier Hansson <david@loudthinking.com>2004-12-22 14:38:36 +0000
commita89e36a22a558a77e6783d21ce4f9deee028e2e9 (patch)
treea1632370e7046d71bbe791b7ed28ee494fa0494b /railties/configs/apache.conf
parent822742164e8eaaecb346b03d3662a8fd2284f8c6 (diff)
downloadrails-a89e36a22a558a77e6783d21ce4f9deee028e2e9.tar.gz
rails-a89e36a22a558a77e6783d21ce4f9deee028e2e9.tar.bz2
rails-a89e36a22a558a77e6783d21ce4f9deee028e2e9.zip
You should redirect externally on the default action
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@255 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'railties/configs/apache.conf')
-rwxr-xr-xrailties/configs/apache.conf2
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/configs/apache.conf b/railties/configs/apache.conf
index 1ba845cdee..3da2844d66 100755
--- a/railties/configs/apache.conf
+++ b/railties/configs/apache.conf
@@ -10,7 +10,7 @@ RewriteEngine On
RewriteBase /dispatch.cgi
# Enable this rewrite rule to point to the controller/action that should serve root.
-# RewriteRule ^$ /controller/action
+# RewriteRule ^$ /controller/action [R]
# Add missing slash
RewriteRule ^([-_a-zA-Z0-9]+)$ /$1/ [R]