Title: [193404] trunk/Websites/webkit.org
Revision
193404
Author
[email protected]
Date
2015-12-03 20:30:47 -0800 (Thu, 03 Dec 2015)

Log Message

Another attempt to fix the http blog redirects.

* .htaccess:

Modified Paths

Diff

Modified: trunk/Websites/webkit.org/.htaccess (193403 => 193404)


--- trunk/Websites/webkit.org/.htaccess	2015-12-04 04:20:57 UTC (rev 193403)
+++ trunk/Websites/webkit.org/.htaccess	2015-12-04 04:30:47 UTC (rev 193404)
@@ -4,21 +4,19 @@
 
 RewriteRule .*\.svn.* - [F]
 
+RewriteCond %{REQUEST_METHOD} ^(TRACE|TRACK)
+RewriteRule .* - [F]
+
 RewriteCond %{HTTP_HOST} ^queues.webkit.org$
-RewriteRule (.*) https://webkit-queues.webkit.org$1 [L,R=301]
+RewriteRule (.*) https://webkit-queues.webkit.org/$1 [L,R=301]
 
 RewriteCond %{HTTP_HOST} ^blog.webkit.org$
 RewriteRule (.*) https://webkit.org/blog/$1 [L,R=301]
 
-RewriteRule ^/blog/(.*) https://webkit.org/blog/$1 [L,R=301]
-
 RewriteCond %{HTTPS} off
 RewriteCond %{HTTP_HOST} ^(www\.)?(.*)$
-RewriteRule (.*) https://%2/$1 [L,R=301]
+RewriteRule .* https://%2%{REQUEST_URI} [L,R=301]
 
-RewriteCond %{REQUEST_METHOD} ^(TRACE|TRACK)
-RewriteRule .* - [F]
-
 # 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

Modified: trunk/Websites/webkit.org/ChangeLog (193403 => 193404)


--- trunk/Websites/webkit.org/ChangeLog	2015-12-04 04:20:57 UTC (rev 193403)
+++ trunk/Websites/webkit.org/ChangeLog	2015-12-04 04:30:47 UTC (rev 193404)
@@ -1,5 +1,11 @@
 2015-12-03  Timothy Hatcher  <[email protected]>
 
+        Another attempt to fix the http blog redirects.
+
+        * .htaccess:
+
+2015-12-03  Timothy Hatcher  <[email protected]>
+
         Attempt to fix the http blog redirects.
 
         * .htaccess:
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to