PDA

View Full Version : mod_gzip installed but not working


ColinP
Tue 1st Oct '02, 7:01am
I've now got Apache 1.3.26 running and have compiled the latest version of mod_gzip for it. However according to http://leknor.com/code/gziped.php?url=http%3A%2F%2Fwww.thedvdforums.com and http://leknor.com/code/gziped.php?url=http%3A%2F%2Fwww.dvdtimes.co.uk neither site on the server is being gzipped but mod_gzip is being installed :(

Below is the relevant bit of my httpd.conf file:

LoadModule gzip_module libexec/mod_gzip.so
AddModule mod_gzip.c

mod_gzip_on Yes
mod_gzip_minimum_file_size 300
mod_gzip_maximum_file_size 0
mod_gzip_maximum_inmem_size 100000
mod_gzip_keep_workfiles No
mod_gzip_temp_dir /www/mod_gzip
mod_gzip_item_include file \.html$
mod_gzip_item_include file \.jsp$
mod_gzip_item_include file \.php$
mod_gzip_item_include file \.pl$
mod_gzip_item_include file \.cg$
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/.*

Anyone got any ideas?

eva2000
Tue 1st Oct '02, 10:31am
it says

http://www.thedvdforums.com is gziped.

and

http://www.dvdtimes.co.uk is gziped.

eva2000
Tue 1st Oct '02, 10:33am
but according to that page you're still using apache 1.3.23

ColinP
Tue 1st Oct '02, 10:34am
Yeah - I found that no matter what I do I can't get it to work with Apache 1.3.26 so have switched back to 1.3.23. Without mod_gzip the bandwidth used by the server goes through the roof :(

eva2000
Tue 1st Oct '02, 10:48am
should really have 1 thread instead of 2 for the same issue ;)

ColinP
Tue 1st Oct '02, 10:50am
I've switched back to 1.3.26 now so you can see the page as I was seeing it...

ColinP
Tue 1st Oct '02, 10:50am
Let's take it to the other one now ;) hehe

eva2000
Tue 1st Oct '02, 11:21am
okay i'll close this thread and work from the other :)