]>
Commit | Line | Data |
---|---|---|
e5ce5b58 | 1 | # $Id$ |
408714fc | 2 | LoadModule deflate_module modules/mod_deflate.so |
4defb993 AM |
3 | |
4 | SetOutputFilter DEFLATE | |
cb493530 | 5 | |
e5ce5b58 | 6 | <IfModule mod_setenvif.c> |
408714fc ER |
7 | # Netscape 4.x has some problems... |
8 | BrowserMatch ^Mozilla/4 gzip-only-text/html | |
cb493530 | 9 | |
408714fc ER |
10 | # Netscape 4.06-4.08 have some more problems |
11 | BrowserMatch ^Mozilla/4\.0[678] no-gzip | |
cb493530 | 12 | |
408714fc ER |
13 | # MSIE masquerades as Netscape, but it is fine |
14 | BrowserMatch \bMSIE !no-gzip !gzip-only-text/html | |
cb493530 | 15 | |
408714fc ER |
16 | SetEnvIfNoCase Request_URI \.(?:gif|jpe?g|png)$ no-gzip dont-vary |
17 | SetEnvIfNoCase Request_URI \.pdf$ no-gzip dont-vary | |
18 | SetEnvIfNoCase Request_URI \.(?:exe|t?gz|zip|bz2|sit|rar|iso)$ no-gzip dont-vary | |
e5ce5b58 | 19 | </IfModule> |
4defb993 | 20 | |
e5ce5b58 | 21 | <IfModule mod_headers.c> |
408714fc ER |
22 | # Make sure proxies don't deliver the wrong content |
23 | Header append Vary User-Agent env=!dont-vary | |
e5ce5b58 | 24 | </IfModule> |