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