]> git.pld-linux.org Git - packages/apache.git/blobdiff - apache-mod_deflate.conf
- rel 4; use currently available (unofficial) fix for latest 'Range' vuln.
[packages/apache.git] / apache-mod_deflate.conf
index 275585fb006204a763646b57a28b8825b30502e9..bfaa67c67f33b1b32805fce0e623fcda9305ab5b 100644 (file)
@@ -2,7 +2,7 @@
 LoadModule deflate_module              modules/mod_deflate.so
 
 # Safe but working settings - compress only that types:
-AddOutputFilterByType DEFLATE application/javascript application/x-javascript
+AddOutputFilterByType DEFLATE application/javascript application/x-javascript text/javascript
 AddOutputFilterByType DEFLATE application/x-httpd-php
 AddOutputFilterByType DEFLATE application/xhtml+xml
 AddOutputFilterByType DEFLATE image/svg+xml
@@ -31,5 +31,5 @@ AddOutputFilterByType DEFLATE text/xml
 
 <IfModule mod_headers.c>
        # Make sure proxies don't deliver the wrong content
-       Header append Vary User-Agent env=!dont-vary
+       Header append Vary Accept-Encoding env=!dont-vary
 </IfModule>
This page took 0.094644 seconds and 4 git commands to generate.