One last fix for https redirect.
authortimothy@apple.com <timothy@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 5 Dec 2015 22:02:53 +0000 (22:02 +0000)
committertimothy@apple.com <timothy@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 5 Dec 2015 22:02:53 +0000 (22:02 +0000)
* wp-content/themes/webkit/.htaccess:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@193536 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Websites/webkit.org/.htaccess
Websites/webkit.org/ChangeLog

index 6c48acd..98bbdf9 100644 (file)
@@ -16,6 +16,9 @@ RewriteRule (.*) https://webkit.org/blog/$1 [L,R=301]
 RewriteCond %{HTTP_HOST} ^(www\.)(.*)$
 RewriteRule (.*) https://%2/$1 [L,R=301]
 
+RewriteCond %{HTTPS} off
+RewriteRule (.*) https://%{HTTP_HOST}/$1 [L,R=301]
+
 # Old Sunspider versions
 Redirect 301 /perf/sunspider-0.9/sunspider.html /perf/sunspider/sunspider.html
 Redirect 301 /perf/sunspider-0.9.1/sunspider.html /perf/sunspider/sunspider.html
index 4dae2c1..49d46c1 100644 (file)
@@ -1,5 +1,11 @@
 2015-12-05  Timothy Hatcher  <timothy@apple.com>
 
+        One last fix for https redirect.
+
+        * wp-content/themes/webkit/.htaccess:
+
+2015-12-05  Timothy Hatcher  <timothy@apple.com>
+
         Attempt to fix www redirect again.
 
         * wp-content/themes/webkit/.htaccess: