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

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 UTC