Antwort: [Mod_gzip] mod_gzip doesn't work even though I enable it in Apache !

mod_gzip@lists.over.net mod_gzip@lists.over.net
Fri, 2 May 2003 15:48:04 +0200


Hi Jack,


> I have read all archies from your forum of MOD_GZIP before
> I send you this quering email about mod_gzip.

really _all_ archives? Wow ...
     http://www.schroepl.net/projekte/mod_gzip/status.htm
would have been much more suitable in your case.

> My mod_gzip displays info is look like as follows,

Good idea to provide the proper log file information
- this will likely speed up the solution process:

> GET /_vti_inf.html HTTP/1.1" 404 286 mod_gzip:
DECLINED:NO_ACCEPT_ENCODING In:0 -< Out:0 = 0 pct.

NO_ACCEPT_ENCODING means that the browser wasn't willing
to allow mod_gzip to compress anything.
(And if it had, a HTTP status 404 still wouldn't have
contained anything worth compressing ... by the way, you
are using "mod_gzip_add_header_count Yes" for a purpose?)

> GET /index.php?file=company/contact.html HTTP/1.1" 200 18761
> mod_gzip: RECOVERY In:0 -< Out:0 = 0 pct.

RECOVERY means that mod_gzip actually tried to compress
but experienced some internal problems.
The exact reason is not that easy to find, but most likely
you have specified a temporary dir for compression that
the userid your Apache is running under doesn't have write
permissions ... do you see any entries in your error_log
about this?

> GET /company/images/title_contact.gif HTTP/1.1" 200 638
> mod_gzip: DECLINED:EXCLUDED In:0 -< Out:0 = 0 pct.

DECLINED_EXCLUDED means that your mod_gzip configuration
rules specified to not compress this GIF file, by
- either firing some "exclude" rule
- or not firing any  "include" rule
in rule evaluation phase 1.

Regards, Michael