I am having trouble getting mod_deflate to work on a windows installation. I'm using Apache 2.0.53 on a Windows 2003 server. In order to rule out other configuration options, I have re-installed Apache with just the default config file and changed nothing except to add this for mod_deflate. I examined the access log and also looked at the byte stream with Ethereal and the data is not compressed. I have tried accessing a file on the server using both IE and Firefox. Does anyone have any advice for using mod_deflate on a Windows server?
LoadModule deflate_module modules/mod_deflate.so
<Location />
# Insert filter
SetOutputFilter DEFLATE
# Netscape 4.x has some problems...
BrowserMatch ^Mozilla/4 gzip-only-text/html
# Netscape 4.06-4.08 have some more problems
BrowserMatch ^Mozilla/4\.0[678] no-gzip
# MSIE masquerades as Netscape, but it is fine
BrowserMatch \bMSIE !no-gzip !gzip-only-text/html
# Don't compress images
SetEnvIfNoCase Request_URI .(?:gif|jpe?g|png)$ no-gzip dont-vary
</Location>
Thanks,
Brian