W3C home > Mailing lists > Public > www-validator-cvs@w3.org > April 2007

validator/httpd/conf httpd.conf,1.30,1.31

From: Ville Skytta via cvs-syncmail <cvsmail@w3.org>
Date: Tue, 24 Apr 2007 19:37:48 +0000
To: www-validator-cvs@w3.org
Message-Id: <E1HgQpg-0004cR-9H@lionel-hutz.w3.org>

Update of /sources/public/validator/httpd/conf
In directory hutz:/tmp/cvs-serv17741

Modified Files:
	httpd.conf 
Log Message:
Apply atom feed RewriteRule only if mod_rewrite is available, use /w3c-validator/ prefix for it.

Index: httpd.conf
===================================================================
RCS file: /sources/public/validator/httpd/conf/httpd.conf,v
retrieving revision 1.30
retrieving revision 1.31
diff -u -d -r1.30 -r1.31
--- httpd.conf	22 Mar 2007 11:54:05 -0000	1.30
+++ httpd.conf	24 Apr 2007 19:37:45 -0000	1.31
@@ -44,8 +44,10 @@
 </IfModule>
 
 # atom news feed
-  RewriteRule ^/whatsnew.atom$ http://www.w3.org/2005/08/online_xslt/xslt?xslfile=http://www.w3.org/QA/Tools/validator-news.xsl&xmlfile=http://validator.w3.org/whatsnew.html [P,L]
+<IfModule mod_rewrite.c>
+  RewriteRule /w3c-validator/whatsnew.atom$ http://www.w3.org/2005/08/online_xslt/xslt?xslfile=http://www.w3.org/QA/Tools/validator-news.xsl&xmlfile=http://validator.w3.org/whatsnew.html [P,L]
 # will need to change this to point to validator.w3.org/validator-news.xsl when we publish it there.
+</IfModule>
 
 <Proxy *>
   Order Deny,Allow
Received on Tuesday, 24 April 2007 19:37:49 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 26 April 2012 12:54:57 GMT