Web Hosting Talk







View Full Version : please help : mode_gzip installation


BenH
01-20-2002, 11:34 AM
Hello ,
im trying to install mod_gzip but with no success ,
i floowed some insructions and it just doesnt work .

im using RH 7.1 with plesk (RS)

added to httpd.conf

LoadModule gzip_module libexec/mod_gzip.so
<IfModule 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_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_temp_dir /tmp
mod_gzip_keep_workfiles No
mod_gzip_can_negotiate yes
</IfModule>


and
AddModule mod_gzip.c

downloaded the file to my libexec dir and restarted apache ,
when im trying to access the site it doesnt work
IE give error ( not something specific )

Can AnyOne Please Help Me ?

(im attaching my httpd.conf )

BenH
01-20-2002, 11:35 AM
here is the file

well i dont know why it doesnt add the file ...
but anyway
http://www.hagai.net/httpd.conf.gzip.txt

kunal
01-20-2002, 03:22 PM
how have you installed the gzip module? did you compile the source? or download the pre-compiled one?

DuncanMcLord
01-20-2002, 03:42 PM
hm,

check ur log files for any errors and try
"apachectl configtest"

oh and btw i also have some trouble with a module, which results in same error like the 1 u encountered.
i commented every module except the standard ones and the not workin one, then restarted apache and it worked.
...then i uncommented one module after the other until i found out, that the problem module wont work (although apache starts and is runnin, but not accessible through browser even with direct port in URL) when the other one is added too!

...still dont know why they dont work together, cause on a different installation they both worked.

hope it helps u,

Duncan McLord

MikeF
01-20-2002, 04:48 PM
Originally posted by HostingFreak
Hello ,
im trying to install mod_gzip but with no success ,
i floowed some insructions and it just doesnt work .

im using RH 7.1 with plesk (RS)

added to httpd.conf


downloaded the file to my libexec dir and restarted apache ,
when im trying to access the site it doesnt work
IE give error ( not something specific )

Can AnyOne Please Help Me ?

(im attaching my httpd.conf )

I am pretty sure this will help you:
http://i4net.tv/marticle/get.php?action=getarticle&articleid=12

BenH
01-21-2002, 09:30 AM
how have you installed the gzip module? did you compile the source? or download the pre-compiled one?
yes, its pre compiled. i've tried to compile by myself look the problem i had please

check ur log files for any errors and try
"apachectl configtest"
no i dont ...

i commented every module except the standard ones and the not workin one
im afraid i dont enogh knowladge to know what is neccesry and what isnt ,
i'll be glad if you can tell me ...

I am pretty sure this will help you:
http://i4net.tv/marticle/get.php?ac...le&articleid=12
i've done all that was written there , including compiling my own ,
when i try to restart apache it say cant restart httpd.

i'll be really glad if someone can help me .
i've a very serios bw problem ( site using 250gb )

Thank You