/etc/httpd/conf.d/gzip.conf
LoadModule filter_module modules/mod_filter.so DeflateCompressionLevel 5 #IE6 has some problems... BrowserMatch ^Mozilla/4.0[678] no-gzip BrowserMatch bMSIEs(7|8) !no-gzip FilterDeclare Compression CONTENT_SET FilterProvider Compression DEFLATE Content-Type $text/xml FilterProvider Compression DEFLATE Content-Type $text/html FilterProvider Compression DEFLATE Content-Type $text/css FilterProvider Compression DEFLATE Content-Type $text/javascript FilterChain Compression # Don't append Vary heder for specific files SetEnvIfNoCase Request_URI .(?:gif|jpe?g|png|zip|lzh|exe)$ dont-vary # 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