csswg .htaccess,1.14,1.15

Update of /sources/public/csswg
In directory hutz:/tmp/cvs-serv17278

Modified Files:
	.htaccess 
Log Message:
Revert plinss's changes, try a different way to fix up trailing slashes that doesn't break links to files like default.css.

Index: .htaccess
===================================================================
RCS file: /sources/public/csswg/.htaccess,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -d -r1.14 -r1.15
--- .htaccess	27 Mar 2012 04:42:10 -0000	1.14
+++ .htaccess	27 Mar 2012 05:27:28 -0000	1.15
@@ -2,9 +2,12 @@
 DirectoryIndex Overview.html overview.html
 RewriteEngine On
 RewriteBase /csswg
-RewriteRule ^css3-grid-align$ css3-grid-layout/ [R=301,L]
+
+/* Fixup trailing slashes first so the proxy server doesn't */
+RewriteRule ^([^\.]+)$  http://w3c-test.org/csswg/$1/ [R,L]
+
+/* Relocation Redirects */
 RewriteRule ^css3-grid-align/(.*)$ css3-grid-layout/$1 [R=301,L]
-RewriteRule ^$ http://w3c-test.org/csswg/ [P,L]
-RewriteRule ^(.*)/$ http://w3c-test.org/csswg/$1/ [P,L]
-RewriteRule ^(.*)/(.*)$ http://w3c-test.org/csswg/$1/$2 [P,L]
-RewriteRule ^(.*)$  http://w3c-test.org/csswg/$1/ [P,L]
+
+/* Proxy Rules */
+RewriteRule ^(.*)$  http://w3c-test.org/csswg/$1 [P,L]

Received on Tuesday, 27 March 2012 05:27:32 UTC