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

Mehra, Avinash mod_gzip@lists.over.net
Tue, 22 Oct 2002 18:19:00 -0400


I have installed the mod_gzip for my IBM HTTP Server. Also I have tried it
on Apache 1.3.27  both with mod 1.3.19 and 1.3.26. 
I am unable to get the compression done.

HTTPD Entries:

LoadModule gzip_module "C:/IBM HTTP Server/modules/ApacheModuleGzip.dll"
mod_gzip_on                 Yes
mod_gzip_minimum_file_size  10
mod_gzip_maximum_file_size  500000
mod_gzip_maximum_inmem_size 100000
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
In:%{mod_gzip_input_size}n
Out:%{mod_gzip_output_size}n:%{mod_gzip_compression_ratio}npct."
common_with_mod_gzip_info2
#LogFormat  "%h %l %u %t \"%V %r\" %<s %b mod_gzip: %{mod_gzip_result}n
In:%{mod_gzip_input_size}n -< Out:%{mod_gzip_output_size}n =
%{mod_gzip_compression_ratio}n pct." common_with_mod_gzip_info2

CustomLog c:/avinash/mod_gzip_log common_with_mod_gzip_info2

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
/webapp/FEPDirect/scripts.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
/webapp/FEPDirect/images/BannerOCOnline2.gif 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/images/threeBlueNarrowVerticalStripsBG.gif 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/images/BannerPictures3.gif 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/images/BannerLogo.gif HTTP/1.1" 200 1671 mod_gzip:
DECLINED:EXCLUDED In:0 Out:0:0pct.

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.
127.0.0.1 - - [22/Oct/2002:18:18:53 -0400] "172.29.4.67 GET
/InvalidAccess.html HTTP/1.1" 304 - mod_gzip: - In:- Out:-:-pct.
127.0.0.1 - - [22/Oct/2002:18:18:53 -0400] "172.29.4.67 GET
/style_general.css HTTP/1.1" 304 - mod_gzip: - In:- Out:-:-pct.
127.0.0.1 - - [22/Oct/2002:18:18:53 -0400] "172.29.4.67 GET /help.js
HTTP/1.1" 304 - mod_gzip: - In:- Out:-:-pct.
127.0.0.1 - - [22/Oct/2002:18:18:53 -0400] "172.29.4.67 GET /scripts.js
HTTP/1.1" 304 - mod_gzip: - In:- Out:-:-pct.
127.0.0.1 - - [22/Oct/2002:18:18:53 -0400] "172.29.4.67 GET
/images/threeBlueNarrowVerticalStripsBG.gif HTTP/1.1" 304 - mod_gzip: - In:-
Out:-:-pct.
127.0.0.1 - - [22/Oct/2002:18:18:53 -0400] "172.29.4.67 GET
/images/BannerOCOnline2.gif HTTP/1.1" 304 - mod_gzip: - In:- Out:-:-pct.
127.0.0.1 - - [22/Oct/2002:18:18:53 -0400] "172.29.4.67 GET
/images/BannerPictures3.gif HTTP/1.1" 304 - mod_gzip: - In:- Out:-:-pct.
127.0.0.1 - - [22/Oct/2002:18:18:53 -0400] "172.29.4.67 GET
/images/BannerLogo.gif HTTP/1.1" 304 - mod_gzip: - In:- Out:-:-pct.


I would appreciate if anyone can help me resolve this.

Avinash