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]