[Mod_gzip] Antwort: FW: Installing mod_gzip for IBM HTTP Server/Apache server

mod_gzip@lists.over.net mod_gzip@lists.over.net
Wed, 23 Oct 2002 19:15:54 +0200


Hi,


> I was wondering if you could help me.
> Apologise for mailing directly.

please post these things to the mod_gzip mailing list, so that
all users are able to help you (and learn from the process).

> mod_gzip_minimum_file_size  10
You might well increase this to some value between 300 and 1000
bytes. There will some 300-500 bytes HTTP header been sent as well,
so that even compressing 1000 bytes to 600 bytes will only save
you about 30% of the volume. Thus you might consider to save the
gzip processing in these cases.

> mod_gzip_maximum_file_size  500000
> mod_gzip_maximum_inmem_size 100000

mod_gzip will internally limit this value to 60000 bytes.

> mod_gzip_keep_workfiles     No
> mod_gzip_can_negotiate	    Yes
> mod_gzip_temp_dir           c:\temp
> mod_gzip_handle_methods     GET POST
> mod_gzip_dechunk              Yes
> mod_gzip_item_include       file \.html$
> mod_gzip_item_include       file \.jsp$
> mod_gzip_item_include       mime ^^text/.*
> mod_gzip_item_include       handler ^^server-status$
> mod_gzip_item_include       handler ^^server-info$
> mod_gzip_item_exclude       file \.css$
> mod_gzip_item_exclude       mime ^^image/.*
> LogFormat "%h %l %u %t \"%V %r\" %>s %b mod_gzip: %{mod_gzip_result}n
>
> Logs Output: (IBM HTTP Server)
> 127.0.0.1 - - [22/Oct/2002:17:56:28 -0400] "172.29.4.67 GET
> /webapp/FEPDirect/InvalidAccess.html HTTP/1.1" 304 0 mod_gzip:
> DECLINED:EXCLUDED In:0 Out:0:0pct.
> 127.0.0.1 - - [22/Oct/2002:17:56:28 -0400] "172.29.4.67 GET
> /webapp/FEPDirect/style_general.css HTTP/1.1" 304 0 mod_gzip:
> DECLINED:EXCLUDED In:0 Out:0:0pct.
> 127.0.0.1 - - [22/Oct/2002:17:56:28 -0400] "172.29.4.67 GET
> /webapp/FEPDirect/help.js HTTP/1.1" 304 0 mod_gzip: DECLINED:EXCLUDED
In:0
> Out:0:0pct.
> 127.0.0.1 - - [22/Oct/2002:17:56:28 -0400] "172.29.4.67 GET

I don't see any cause of the problem in your configuration.

Thus it might depend on information you didn't show us, like:
Which MIME types are actually being sent?

>> Logs Output: Apache Server
>> 127.0.0.1 - - [22/Oct/2002:18:18:34 -0400] "172.29.4.67 GET /test.html
>> HTTP/1.1" 304 - mod_gzip: - In:- Out:-:-pct.

In this case mod_gzip doesn't seem to be loaded at all.

Regards, Michael