Antwort: [Mod_gzip] Mod_Gzip-Apache-Weblogic-VirtualHost does not work - DECLINED:EXCLUDED

mod_gzip@lists.over.net mod_gzip@lists.over.net
Mon, 28 Apr 2003 22:29:41 +0200


Hi,


> GET /TimeEForm/TimeEForm.jsp HTTP/1.1" 200 32149 0
> gzip DECLINED:EXCLUDED 0 0 0

= no matching "include" _or_ at least one matching
"exclude" in rule evaluation phase 1 (file, uri,
reqheader, handler).

> mod_gzip_item_include handler weblogic-handler
> mod_gzip_item_include handler ^^weblogic-handler$
> mod_gzip_item_include handler ^^weblogic-handler$

Your idea looks correct, although I don't know
what you intend to achieve by two identical rules.

> mod_gzip_item_exclude file \.js

_This_ line might be killing your compression.

Be aware that you only do a regex substring
match here, and you will exclude "*.jsp" as well!

Try changing it to
     mod_gzip_item_exclude file \.js$
and check what happens ...

You can read section
     http://www.schroepl.net/projekte/mod_gzip/config.htm#filters
down to the very end and find the description
of a problem very similar to your case there.

Regular expressions are a tricky thing.

Regards, Michael