W3C home > Mailing lists > Public > public-css-commits@w3.org > March 2012

csswg .htaccess,1.17,1.18

From: Elika Etemad via cvs-syncmail <cvsmail@w3.org>
Date: Tue, 27 Mar 2012 05:42:30 +0000
To: public-css-commits@w3.org
Message-Id: <E1SCPAs-0004mz-Tf@lionel-hutz.w3.org>
Update of /sources/public/csswg
In directory hutz:/tmp/cvs-serv18395

Modified Files:
	.htaccess 
Log Message:
try rewrite again... 

Index: .htaccess
===================================================================
RCS file: /sources/public/csswg/.htaccess,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -d -r1.17 -r1.18
--- .htaccess	27 Mar 2012 05:36:44 -0000	1.17
+++ .htaccess	27 Mar 2012 05:42:28 -0000	1.18
@@ -3,8 +3,11 @@
 RewriteEngine On
 RewriteBase /csswg
 
-/* Relocation Redirects */
+# Add slashes so the proxy server doesn't redirect
+RewriteRule ^([^.]+[^/])$ $1/ [R,L]
+
+# Relocation Redirects
 RewriteRule ^css3-grid-align/(.*)$ css3-grid-layout/$1 [R=301,L]
 
-/* Proxy Rules */
+# Proxy Rules
 RewriteRule ^(.*)$  http://w3c-test.org/csswg/$1 [P,L]
Received on Tuesday, 27 March 2012 05:42:33 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 19:26:13 UTC