Hi, Everyone:
I installed apache on Windows XP. mod_deflate is in the "apache_home/modules" directory.
When I try to use it, it does not work. Because from the log infomation list below, the output is not
compressed. I download the source code of apache and zlib and recompiled mod_deflate.
It still does not work.
This is the .conf file:
LoadModule deflate_module modules/mod_deflate.so
DeflateFilterNote ratio
CustomLog logs/deflate_log deflate
LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined
LogFormat "%h %l %u %t \"%r\" %>s %b" common
LogFormat "%{Referer}i -> %U" referer
LogFormat %{User-agent}i agent
LogFormat '"%v %h %l %u %t "%r" %>s %b "%{Referer}i" "%{User-Agent}i"" (%{ratio}n)' deflate
CustomLog logs/A_SUSRID6_access_log common
CustomLog logs/A_SUSRID6_referer_log referer
CustomLog logs/A_SUSRID6_agent_log agent
CustomLog logs/deflate_log deflate
<Location />
SetOutputFilter DEFLATE
</Location>
This is the log file(the original file size is 151806, the compressed file size is still 151806):
"jiasl 127.0.0.1 - - [09/Nov/2006:17:56:34 +0800] "GET / HTTP/1.1" 200 151806 "-" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)"" (-)
Thanks.