[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[cobalt-users] Webalizer + mod_gzip



I allowed someone who "volunteered" to install mod_gzip on my Raq4. It works
great, but the problem is that none of the sites on my Raq can access their
/stats directory. It comes up with a "page cannot be displayed" error.
I tried installing the Webalizer 2 .pkg from Source Forge, but I still have
the problem. I can't fathom what the problem could be. Any help would be
greatly appreciated.

FYI, here is what he said he did:
cc -O3 -m486 -fomit-frame-pointer -DLINUX=2 -DMOD_SSL=206104 -DMOD_PERL -DUS
E_PERL_SSI -Dbool=char -DHAS_BOOL -I/usr/local/include -DEAPI -DBIG_SECURITY
_HOLE -DCOBALT_RAQ_LED -fpic -DSHARED_MODULE -I/usr/include/apache  -c
mod_gzip.c
gcc -shared -o mod_gzip.so mod_gzip.o
cp mod_gzip.so /usr/lib/apache/mod_gzip.so
chmod 755 /usr/lib/apache/mod_gzip.so
[activating module `gzip' in /etc/httpd/conf/httpd.conf]
[root /mods]# /usr/sbin/httpd -T
chiliasp: module started, version 3.5.2.31
Syntax OK
[root /mods]#

And then:

Add this to httpd.conf

<IfModule mod_gzip.c>
mod_gzip_on yes
mod_gzip_dechunk yes
mod_gzip_keep_workfiles No
mod_gzip_temp_dir /tmp/mod_gzip
mod_gzip_minimum_file_size 1002
mod_gzip_maximum_file_size 0
mod_gzip_maximum_inmem_size 1000000
mod_gzip_command_version mod_gzip_show_version

mod_gzip_item_include file \.htm$
mod_gzip_item_include file \.html$
mod_gzip_item_include file \.shtml$
mod_gzip_item_include mime text/.*
mod_gzip_item_include file \.php$
mod_gzip_item_include file \.cgi$
mod_gzip_item_include file \.pl$
mod_gzip_item_include file \.jpg$
mod_gzip_item_include file \.gif$
mod_gzip_item_include handler ^perl-script$
#mod_gzip_item_include mime "jserv-servlet"
#mod_gzip_item_include handler "jserv-servlet"
mod_gzip_item_include mime "application/x-httpd-php.*"
#mod_gzip_item_include mime image/jpeg
mod_gzip_item_include mime httpd/unix-directory

mod_gzip_item_exclude file "\.css$"
mod_gzip_item_exclude file "\.js$"
mod_gzip_item_exclude file "\.wml$"

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$
CustomLog /etc/httpd/logs/mod_gzip_log  common_with_mod_gzip_info2
</IfModule>