[Mod_gzip] mod_gzip and virtuel hosts

Achim Altmann mod_gzip@lists.over.net
Sun, 16 Mar 2003 10:43:38 -0000


Hello,

I use mod_gzip with apache 1.3.27 and virtuel hosts

problem
all virtuel hosts have the same webpages, there are only in diferent directorys
and seperate virtuel hosts.
Now i saw when i install a new virtuel host (with the same pages) then is the
new host slow and all other what i had installed before are fast.

I have configured mod_gzip parameters outside from the virtuel host
container-tag.

like this
mod_gzip_on                 Yes
mod_gzip_can_negotiate      Yes
mod_gzip_dechunk            Yes
mod_gzip_minimum_file_size  250
mod_gzip_maximum_file_size  500000
mod_gzip_maximum_inmem_size 100000
mod_gzip_keep_workfiles     No
mod_gzip_temp_dir           /var/webcache/mod_gzip
###mod_gzip_item_include       file \\.html$
###mod_gzip_item_include       file \\.txt$
###mod_gzip_item_include       file \\.jsp$
mod_gzip_item_include       file \\.php$
###mod_gzip_item_include       file \\.pl$
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       mime ^httpds/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/.*

Please could any help ?

Thank\'s a lot

best regards

Achim