You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Bryan Field-Elliot <br...@netmeme.org> on 2004/03/04 17:56:08 UTC

mod_deflate with mod_jk2

On my site, I have Apache 2.0 fronting Tomcat 4.1 using the mod_jk2
connector.

I'm trying to enable mod_deflate to automatically compress output from
Tomcat, using this line in my apache config:

AddOutputFilterByType DEFLATE text/html

But the DEFLATE filter is ignoring output from Tomcat, while static html
content (served by apache) is correctly being deflated.

Am I missing something, or is it impossible for mod_jk2 and mod_deflate
to play nice together? Maybe I need to add a compression filter at the
Tomcat level instead? (This seems silly).

Thank you,

Bryan