VisorCentral.com
Show 20 posts from this thread on one page

VisorCentral.com (http://discussion.visorcentral.com/vcforum/index.php)
- Off Topic (http://discussion.visorcentral.com/vcforum/forumdisplay.php?forumid=6)
-- HELP: mod_gzip (http://discussion.visorcentral.com/vcforum/showthread.php?threadid=21923)


Posted by recordond on 03-03-2002 01:07 AM:

Question HELP: mod_gzip

I installed mod_gzip on my Linux Apache 1.3 server last night and it is working but doesn't compress anything. I need help. I downloaded the .so file and used apxs to compile it in and php_info shows it compiled in. I then added this to my httpd.con,

code:
LoadModule gzip_module libexec/mod_gzip.so

code:
AddModule mod_gzip.c

code:
#Added 3-1-02 #mod_gzip config mod_gzip_on Yes mod_gzip_minimum_file_size 300 mod_gzip_maximum_file_size 0 #mod_gzip_min_http 1001 mod_gzip_maximum_inmem_size 100000 mod_gzip_keep_workfiles No mod_gzip_temp_dir /usr/local/apache/gzip mod_gzip_dechunk Yes mod_gzip_item_include mime "application/x_httpd-php" mod_gzip_item_include mime text/* mod_gzip_item_include mime "httpd/unix-directory" mod_gzip_item_include file "\.txt$" mod_gzip_item_include file "\.html$" mod_gzip_item_include file "\.php$" mod_gzip_item_exclude file "\.css$" 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_gzip_compression_ratio}npct." common_with_mod_gzip_info2 CustomLog /var/log/httpd/mod_gzip_log common_with_mod_gzip_info2

The config chunk is just in the main server configuration, does it need to be somewhere else? Any help is really appreciated!

Also you can take a look at my log file made by mgstat here http://216.99.209.191/mgstat/. The tmp directory is writable by mod_gzip and I have seen it write files into it.

SERVER_SOFTWARE Apache/1.3.23 (Unix) mod_gzip/1.3.19.1a PHP/4.1.1

Does this mean that gzip is running?
Here are some lines from my log file.
code:
192.168.1.1 - - [02/Mar/2002:00:08:29 -0800] "216.99.209.191 GET /modules/newbb/index.php HTTP/1.1" 200 39122 mod_gzip: RECOVERY In:0 Out:-pct. 192.168.1.1 - - [02/Mar/2002:00:08:29 -0800] "216.99.209.191 GET /modules/newbb/images/red_folder.gif HTTP/1.1" 304 - mod_gzip: DECLINED:EXCLUDED In:0 Out:-pct. 192.168.1.1 - - [02/Mar/2002:00:08:32 -0800] "216.99.209.191 GET /modules/news/submit.php HTTP/1.1" 200 40925 mod_gzip: RECOVERY In:0 Out:-pct. 192.168.1.1 - - [02/Mar/2002:00:08:34 -0800] "216.99.209.191 GET /modules/contact/ HTTP/1.1" 200 12779 mod_gzip: RECOVERY In:0 Out:-pct. 192.168.1.1 - - [02/Mar/2002:00:08:36 -0800] "216.99.209.191 GET /modules/newbb/ HTTP/1.1" 200 39122 mod_gzip: RECOVERY In:0 Out:-pct. 192.168.1.1 - - [02/Mar/2002:00:08:37 -0800] "216.99.209.191 GET /modules/polls/ HTTP/1.1" 200 11344 mod_gzip: RECOVERY In:0 Out:-pct. 192.168.1.1 - - [02/Mar/2002:00:08:39 -0800] "216.99.209.191 GET /modules/memberslist/ HTTP/1.1" 200 19422 mod_gzip: RECOVERY In:0 Out:-pct.


Here is the output of mod_gzip_command_version http://216.99.209.191/gzip_ver

Thanks,
David


All times are GMT. The time now is 04:52 AM.
Show 20 posts from this thread on one page

Powered by: vBulletin Version 2.3.4
Copyright © Jelsoft Enterprises Limited 2000 - 2016.