I spent some times playing with http compression,
using Apache 2.0 mod_deflate together with mod_jk,
and it works great (at least with jk 1.2.2).
I wonder now if someone, may be Remy, has plan to
add it in Catalina 1.x/2.x (or Coyote) to make it
available for both HTTP 1.1 and JK2 ?
For those who want to experiment JK+DEFLATE
here is was to add in httpd.conf :
---
...
LoadModule jk_module /modules/mod_jk.so
LoadModule deflate_module /modules/mod_deflate.so
...
#
# MOD_DEFLATE
#
# Netscape 4.x has some problems...
BrowserMatch ^Mozilla/4 gzip-only-text/html
# Netscape 4.06-4.08 have some more problems
BrowserMatch ^Mozilla/4\.0[678] no-gzip
# MSIE masquerades as Netscape, but it is fine
BrowserMatch \bMSIE !no-gzip !gzip-only-text/html
# Don't compress images
SetEnvIfNoCase Request_URI \.(gif|jpe?g|png)$ no-gzip dont-vary
# Make sure proxies don't deliver the wrong content
Header append Vary User-Agent env=!dont-vary
....
#
# Logging
#
LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\""
combined
LogFormat "%h %l %u %t \"%r\" %>s %b" common
LogFormat "%{Referer}i -> %U" referer
LogFormat "%{User-agent}i" agent
DeflateFilterNote ratio
LogFormat '"%r" %b (%{ratio}n) "%{User-agent}i"' deflate
<VirtualHost *>
ServerName myhost.org
ServerAdmin [EMAIL PROTECTED]
#
# DEFLATE
#
AddOutputFilterByType DEFLATE text/html text/plain text/xml
DeflateFilterNote ratio
LogFormat '"%r" %b (%{ratio}n) "%{User-agent}i"' deflate
....
JkMount /* ajp13
...
</VirtualHost>
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
- Re: gzip-encoding in TC 4.1.x/5.x Henri Gomez
- Re: gzip-encoding in TC 4.1.x/5.x Remy Maucherat
- Re: gzip-encoding in TC 4.1.x/5.x Henri Gomez
- Re: gzip-encoding in TC 4.1.x/5.x Remy Maucherat
- Re: gzip-encoding in TC 4.1.x/5.x Henri Gomez
- Re: gzip-encoding in TC 4.1.x/5.x Remy Maucherat
- Re: gzip-encoding in TC 4.1.x/5.x Henri Gomez
- Re: gzip-encoding in TC 4.1.x... Henri Gomez
- Re: gzip-encoding in TC 4.1.x... Remy Maucherat
- Re: gzip-encoding in TC 4.1.x... Henri Gomez
- Re: gzip-encoding in TC 4.1.x... Remy Maucherat