Silly per-directory RewriteRule differences
authorQuentin Smith <quentin@mit.edu>
Sun, 14 Mar 2010 01:14:39 +0000 (20:14 -0500)
committerQuentin Smith <quentin@mit.edu>
Sun, 14 Mar 2010 01:14:39 +0000 (20:14 -0500)
.htaccess

index 866e817c21dafc6a5391f503ef4ba68ba907e98b..27e074f878fdcf68b32abc1da86049bc7ad666cd 100644 (file)
--- a/.htaccess
+++ b/.htaccess
@@ -9,7 +9,7 @@ RewriteBase /
 
 # Canonicalize on sipb.mit.edu
 RewriteCond %{HTTP_HOST} !^sipb.mit.edu$ [NC]
-RewriteRule ^(.*)$ http://sipb.mit.edu$1 [R=301,L]
+RewriteRule ^(.*)$ http://sipb.mit.edu/$1 [R=301,L]
 
 # Serve some CGI scripts from _wiki-cgi
 RewriteRule ^ikiwiki.cgi$ _wiki-cgi/ikiwiki.cgi [L]