Permalink
Browse files

You should redirect externally on the default action

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@255 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
  • Loading branch information...
dhh committed Dec 22, 2004
1 parent 8227421 commit a89e36a22a558a77e6783d21ce4f9deee028e2e9
Showing with 1 addition and 1 deletion.
  1. +1 −1 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]

0 comments on commit a89e36a

Please sign in to comment.