https://bugzilla.wikimedia.org/show_bug.cgi?id=31369
--- Comment #4 from MZMcBride <[email protected]> 2011-10-05 23:17:21 UTC --- (In reply to comment #3) > Like this? > > RewriteCond %{HTTPS} off > RewriteCond %{HTTP_HOST} mediawiki.org > RewriteRule ^/(.*)$ http://www.mediawiki.org/$1 [R=301,L] > > RewriteCond %{HTTPS} on > RewriteCond %{HTTP_HOST} mediawiki.org > RewriteRule ^/(.*)$ https://www.mediawiki.org/$1 [R=301,L] That looks about right. It's unclear whether this bug should be expanded to cover the other (several dozen) similar cases in redirects.conf. It's also unclear whether there's a saner system to do this. %{HTTPS} might be best... but it's going to result in an awful lot of code duplication for one letter. -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. You are on the CC list for the bug. _______________________________________________ Wikibugs-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
