I just compiled and configured the latest mod_gzip version, enabled it in the global server context, but compression isn't applied in all my <VirtualHosts>. Are there any interdependencies with other modules that I should be aware of? Apart from mod_perl and mod_php4 I'm using mod_throttle.
Two important things I forgot to mention:
a) <Virtual Hostname>/mod_gzip_status works and reports mod_gzip running and enabled
b) no error messages for the domains are written into the logs, so it probably has nothing to do with the HTTP requests as such.
Compression is probably working fine... what is likely happening is that you forgot that if you have any CustomLog entries in the vhost, it will override the global log. If you want to see compression stats for vhosts, you need to copy the CustomLog statement to each vhost definition.
I also have same problem bothering me for a week.
I surely copy CustomLog statement to each Vhost definition and enable mod_gzip in the global server area, but CustomLog info are as follows,
18.104.22.168 - - [29/Apr/2003:23:40:08 +0800] "www.como.us GET /liwen/ HTTP/1.1"
200 572 mod_gzip: RECOVERY In:0 -< Out:0 = 0 pct.
22.214.171.124 - - [29/Apr/2003:23:40:09 +0800] "www.como.us GET /liwen/left.htm H
TTP/1.1" 200 942 mod_gzip: RECOVERY In:0 -< Out:0 = 0 pct.
126.96.36.199 - - [29/Apr/2003:23:40:10 +0800] "www.como.us GET /liwen/company.ht
m HTTP/1.1" 200 4142 mod_gzip: RECOVERY In:0 -< Out:0 = 0 pct.
From above, it seems mod_gzip doesn't work ! Could you give me any help or hint ? Thanks in advance.