httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Admin-Stress <meerka...@yahoo.com>
Subject [users@httpd] Please help on apache configuration
Date Fri, 14 Nov 2003 14:53:12 GMT
I compiled apache 2.0.48 with --enable-deflate , so it's statically linked.

And I add this configuration :

# ===== START =====

<Location />
# Insert filter
SetOutputFilter DEFLATE

# Netscape 4.x has some problems...
BrowserMatch ^Mozilla/4 gzip-only-text/html

# Netscape 4.06-4.08 have some more problems
BrowserMatch ^Mozilla/4\.0[678] no-gzip

# MSIE masquerades as Netscape, but it is fine
BrowserMatch \bMSIE !no-gzip !gzip-only-text/html

# Don't compress images
SetEnvIfNoCase Request_URI \\.(?:gif|jpe?g|png|gz)$ no-gzip dont-vary

# Make sure proxies don't deliver the wrong content
Header append Vary User-Agent env=!dont-vary
</Location>

DeflateCompressionLevel 9
DeflateFilterNote Input instream
DeflateFilterNote Output outstream
DeflateFilterNote Ratio ratio
LogFormat '%h %l %u %t "%r" %{outstream}n/%{instream}n (%{ratio}n%%)' deflate
CustomLog /var/log/httpd/deflate_log deflate

AddEncoding x-compress Z
AddEncoding x-gzip gz tgz

AddOutputFilterByType DEFLATE text/html text/plain text/xml

# ===== END =====

But why I got nothing in /var/log/httpd/deflate_log ??? The size is 0.

Is there something wrong ?

Is it a BUG (again) in 2.0.48 ?

I tested using Netscape 7, Opera (latest), and IE 6.x.

Please help me, 

Thanks in advance

__________________________________
Do you Yahoo!?
Protect your identity with Yahoo! Mail AddressGuard
http://antispam.yahoo.com/whatsnewfree

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message