Antwort: RE: [Mod_gzip] apache 2.0.40 and error
mod_gzip@lists.over.net
mod_gzip@lists.over.net
Tue, 20 May 2003 12:53:32 +0200
Hi Matt,
> What errors are you getting? The HAS_CE error?
Oops. HAS_CE isn't an error, it is a status code.
And it doesn't tell you anything went wront - on
the opposite, it tells you that mod_gzip did some-
thing _right_ that you would miss if you disable
the code checking für this situation!
HAS_CE tells you "I just protected any browser
from receiving content that has been compressed
twice, which would be dangerous as well as un-
necessarily spent CPU load on the server".
> I had to do some hacking on the mod_gzip.c, version
> mod_gzip-2.0.40.tar.gz, by commenting lines 2170-2189
> out to get it to work for me.
But does it work for others who may now receive
content that is compressed twice?
I think you are giving a very bad advice here.
Kids, don't do this at home!
There is no reason to disable PHP compression,
other than it would not work together with your
(erroneous) program hack.
PHP even compresses more effectively than mod_gzip!
("gzip -9" vs. "gzip -6") but costs more CPU load
when doing so.
Regards, Michael