diff options
author | ot <ot@localhost> | 2007-07-25 01:12:01 +0000 |
---|---|---|
committer | ot <ot@localhost> | 2007-07-25 01:12:01 +0000 |
commit | 7428e587eac9e804783c7ca3bcdc1c4f54e2c88b (patch) | |
tree | 6ebb455b69d9943136003fce9baabef84da9d52f | |
parent | 1eb403f6b3ad47053fc3bdb15dec544e1b1ec952 (diff) | |
download | markup-validator-7428e587eac9e804783c7ca3bcdc1c4f54e2c88b.zip markup-validator-7428e587eac9e804783c7ca3bcdc1c4f54e2c88b.tar.gz markup-validator-7428e587eac9e804783c7ca3bcdc1c4f54e2c88b.tar.bz2 |
* adding other possible js mime types
* making sure expires directives only apply to the validator's docs
(Thanks to Sierk and Ville for pointing these two mistakes)
-rw-r--r-- | httpd/conf/httpd.conf | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/httpd/conf/httpd.conf b/httpd/conf/httpd.conf index 1301e55..fb3f82e 100644 --- a/httpd/conf/httpd.conf +++ b/httpd/conf/httpd.conf @@ -51,6 +51,7 @@ Alias /w3c-validator/ /usr/local/validator/htdocs/ </Directory> <IfModule mod_expires.c> + <Directory /usr/local/validator/htdocs/> ExpiresActive On ExpiresByType image/gif A2592000 ExpiresByType image/jpg A2592000 @@ -59,6 +60,9 @@ Alias /w3c-validator/ /usr/local/validator/htdocs/ 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 |