Unbreak https
authorQuentin Smith <quentin@mit.edu>
Sun, 14 Mar 2010 02:59:17 +0000 (21:59 -0500)
committerQuentin Smith <quentin@mit.edu>
Sun, 14 Mar 2010 02:59:17 +0000 (21:59 -0500)
.htaccess

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