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

validator/httpd/conf httpd.conf,1.36,1.37

From: Ville Skytta via cvs-syncmail <cvsmail@w3.org>
Date: Wed, 25 Jul 2007 17:13:06 +0000
To: www-validator-cvs@w3.org
Message-Id: <E1IDkQ6-00040Q-5D@lionel-hutz.w3.org>

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

Modified Files:
	httpd.conf 
Log Message:
Move Expires* inside the <Directory> block we already have instead of creating another one.

Index: httpd.conf
===================================================================
RCS file: /sources/public/validator/httpd/conf/httpd.conf,v
retrieving revision 1.36
retrieving revision 1.37
diff -u -d -r1.36 -r1.37
--- httpd.conf	25 Jul 2007 01:12:01 -0000	1.36
+++ httpd.conf	25 Jul 2007 17:13:04 -0000	1.37
@@ -48,23 +48,20 @@
   RewriteRule file-upload(.html)? detailed.html#validate-by-upload [R,L,NE]
   </IfModule>
 
+  <IfModule mod_expires.c>
+  ExpiresActive On
+  ExpiresByType image/gif A2592000
+  ExpiresByType image/jpg A2592000
+  ExpiresByType image/png A2592000
+  ExpiresByType text/html A604800
+  ExpiresByType text/css A2592000
+  ExpiresByType text/javascript A2592000
+  ExpiresByType application/x-javascript A2592000
+  ExpiresByType application/javascript A2592000
+  ExpiresByType application/ecmascript A2592000
+  </IfModule>
 </Directory>
 
-<IfModule mod_expires.c>
-  <Directory /usr/local/validator/htdocs/>
-   ExpiresActive On
-   ExpiresByType image/gif A2592000
-   ExpiresByType image/jpg A2592000
-   ExpiresByType image/png A2592000
-   ExpiresByType text/html A604800
-   ExpiresByType text/css A2592000
-   ExpiresByType text/javascript A2592000
-   ExpiresByType application/x-javascript A2592000
-   ExpiresByType application/javascript A2592000
-   ExpiresByType application/ecmascript A2592000
-   </Directory>
-</IfModule>
-
 # atom news feed
 <IfModule mod_rewrite.c>
   RewriteRule /w3c-validator/whatsnew.atom$ http://www.w3.org/QA/Tools/validator-whatsnew.atom [P,L]
Received on Wednesday, 25 July 2007 17:13:07 GMT

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