Antwort: RE: [Mod_gzip] apache 2.0.40 and error

darren mod_gzip@lists.over.net
Tue, 20 May 2003 13:26:17 -0600


i figured that was kinda wierd. ok now i am using the ordinal mog_gzip 
file. but at first the pages that were compressed worked and the ones that 
were not compressed stopped working, opposite of what was before. then in 
php.ini i set zlib.output_compression = on now everything seems to work? 
wierd stuff. thanks for all your help

At 12:53 PM 5/20/2003 +0200, you wrote:

>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
>
>
>_______________________________________________
>mod_gzip mailing list
>mod_gzip@lists.over.net
>http://lists.over.net/mailman/listinfo/mod_gzip