[Mod_gzip] w2k, apache 2.0.43, php 4.2.4-dev

mario aeby mod_gzip@lists.over.net
Wed, 16 Oct 2002 00:16:56 +0200


hi,

i'm trying to make mod_gzip run with my development-server here at my
home.

i use the following software:

- windows 2000 professional
- apache 2.0.43
- php 4.2.4-dev

i had to install the php-developers-version because apache had permanent
errors with the 4.2.3-release. anyway, it works fine now and without any
troubles (so far ;).

now, i'd like to install mod_gzip, but i wasn't able to get it working
for 2 days now. i downloaded the appropriate files from

http://www.pcp-computer.de/gkn/apache/httpd-2.0/win32/modules/

(mod_gzip-2.0.43-w32.zip) and put the .so file in the modules-folder of
my apache-installation.

after that, i added the following bunch of lines to httpd.conf:

--- snip ---
LoadModule gzip_module modules/mod_gzip.so
<IfModule mod_gzip.c>
	LogFormat "[%f] > uncompressed:%{mod_gzip_input_size}n bytes //
compressed:%{mod_gzip_output_size}n bytes //
compress-ratio:%{mod_gzip_compression_ratio}n pct." mod_gzip_info
	CustomLog logs/alpha_emeidi_local__mod_gzip.log mod_gzip_info

	mod_gzip_on			Yes 
	mod_gzip_minimum_file_size	300 
	mod_gzip_maximum_file_size	0 
	mod_gzip_maximum_inmem_size	100000 
	mod_gzip_item_include file	.htm$ 
	mod_gzip_item_include file	.html$ 
	mod_gzip_item_include file	.shtml$ 
	mod_gzip_item_include file	.shtm$ 
	mod_gzip_item_include file	.jsp$ 
	mod_gzip_item_include file	.php$ 
	mod_gzip_item_include file	.pl$ 
	mod_gzip_item_include file	.cgi$ 
	mod_gzip_item_include mime	text/.* 
	mod_gzip_item_include mime	^application/x-httpd-php 
	mod_gzip_item_include mime	httpd/unix-directory 
	mod_gzip_item_include handler	^perl-script$ 
	mod_gzip_item_include handler	^server-status$ 
	mod_gzip_item_include handler	^server-info$ 
	mod_gzip_item_exclude file	.css$ 
	mod_gzip_item_exclude file	.js$ 
	mod_gzip_item_exclude mime	^image/.* 
	mod_gzip_dechunk		Yes 
	mod_gzip_keep_workfiles		No 
	mod_gzip_can_negotiate		Yes 

	mod_gzip_temp_dir "c:/temp/apache/mod_gzip/"
</IfModule>
--- snap ---

after that, apache can't be restarted, it's always terminated with error
'1'.

i read the txt-files of the mod_gzip-package and downloaded zlib.dll.
(is it really necessary?) i put it into the %winnt%\system32-folder.
nothing changed :(

can anyone help me?

thanks!
bye
mario
--
mario aeby
stritenstrasse 47
3176 neuenegg

http://www.eMeidi.com