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

Re: validator/httpd/conf httpd.conf,1.34,1.35

From: olivier Thereaux <ot@w3.org>
Date: Wed, 25 Jul 2007 10:11:15 +0900
Message-Id: <42BDB573-C67C-47B6-A482-7FC2225A2EFA@w3.org>
Cc: Sierk Bornemann <sierkb@gmx.de>, www-validator-cvs@w3.org
To: Ville Skyttä <ville.skytta@iki.fi>

Hello Sierk, Ville,

On Jul 25, 2007, at 00:59 , Ville Skyttä wrote:

>
> On Tuesday 24 July 2007, Sierk Bornemann wrote:
>> If adding the outdated MIME type text/javascript and the proprietary
>> MIME type application/x-javascript
>> why not also adding the new recommended and to-be-preferred MIME
>> types for JavaScript, application/javascript and that one for
>> ECMAScript, application/ecmascript as stated in RFC 4329 "Scripting
>> Media Types" on http://www.ietf.org/rfc/rfc4329.txt?
>>
>> So add also:
>>
>> + ExpiresByType application/javascript A2592000
>> + ExpiresByType application/ecmascript A2592000
>>
>>>  </IfModule>

Absolutely, I forgot these. Adding them now.

> But more importantly, shouldn't these ExpiresByType directives be  
> set only
> within <Directory /usr/local/validator/htdocs/>?  Otherwise I  
> suppose they'd
> affect the whole server/virtual host/similar.

Yes, you're right. I guess I was subconsciously hoping everyone would  
use mod_expires for all their sites ;). It would be nice if all the  
validator config could be in a <VirtualHost> (As Sierk also  
suggested), but unfortunately not everyone uses the validator that  
way, so...

Sending a commit with the amended httpd.conf now.

-- 
olivier
Received on Wednesday, 25 July 2007 01:10:52 GMT

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