From a89e36a22a558a77e6783d21ce4f9deee028e2e9 Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Wed, 22 Dec 2004 14:38:36 +0000 Subject: [PATCH] You should redirect externally on the default action git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@255 5ecf4fe2-1ee6-0310-87b1-e25e094e27de --- railties/configs/apache.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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]