"Alvaro G Vicario" <alvaro_QUITAR_REMOVE.TakeThisOut@telecomputeronline.com> schreef in
bericht news:1ws9dc4nkqqbb.3azjw4q0i8gr$.dlg@40tude.net...
> I'm using Red Hat 9. Since I upgraded to lastest Apache security release
> (2.0.40-21.11) I've found that all files (including JPEG) are sent
> compressed with gzip to client.
> I configured my server some time ago to compress plain text files using
> deflate module and leave the rest uncompressed. The upgrade hasn't changed
> my config files, which are exactly the same and remain unchanged.
> I'd appreciate some comments on whether someone else has found the same
> problem and also on how to diagnose what's going on. I don't want to
> compress JPEGs and the like, it's a waste of time and resources!
That is a theory I'ld agree with, but there is more to it: (older) browsers
may go banana on things like compressed images ...
Documentation on mod_gzip gives a wealth of details
<a style='text-decoration: underline;' href="http://www.schroepl.net/projekte/mod_gzip/config.htm." target="_blank">http://www.schroepl.net/projekte/mod_gzip/config.htm.</a>
Readin <a style='text-decoration: underline;' href="http://httpd.apache.org/docs-2.0/mod/mod_deflate.html#recommended" target="_blank">http://httpd.apache.org/docs-2.0/mod/mod_deflate.html#recommended</a>
assumes 'AddOutputFilterByType DEFLATE text/html text/plain text/xml' is the
easyist way to start .
Add 'DeflateFilterNote ratio' to your config too and ' (%{ratio}n) ' to
your logformat to keep yourself informed on what _is_ compressed and what
isn't .
HansH<!-- ~MESSAGE_AFTER~ -->
>> Stay informed about: Red Hat 9: Apache compresses JPEG files