Welcome to WebmasterWorld Guest from

Forum Moderators: Ocean10000 & phranque

Message Too Old, No Replies

mod_gzip header problem

mod_gzip apache linux

7:14 pm on Nov 26, 2003 (gmt 0)

New User

10+ Year Member

joined:Nov 26, 2003
votes: 0

I have installed mod_gzip on my apache server. And as of this writing i looked into my mod_gzip logfile and found that out of 9468 requests 1707 were NO_ACCEPT_ENCODING denies and 7641 were EXCLUDED (images mostly, I have them excluded in mod_gzip.conf) and the rest were 404's and the like. What I am wondering is this normal behaviour? I would think more browser's would accept the encoding type. I know mine does and it says NO_ACCEPT_ENCODING for me. I think there may be something hacking up the request header before it gets to the mod_gzip. If you know something that does this please let me know. I have the standard SSL, PHP, Cold Fusion setup.
I know it's alot but here are all the modules that are loaded:

AddModule mod_env.c
AddModule mod_log_config.c
AddModule mod_log_agent.c
AddModule mod_log_referer.c
AddModule mod_mime.c
AddModule mod_negotiation.c
AddModule mod_status.c
AddModule mod_info.c
AddModule mod_include.c
AddModule mod_autoindex.c
AddModule mod_dir.c
AddModule mod_cgi.c
AddModule mod_asis.c
AddModule mod_imap.c
AddModule mod_actions.c
AddModule mod_userdir.c
AddModule mod_alias.c
AddModule mod_rewrite.c
AddModule mod_access.c
AddModule mod_auth.c
AddModule mod_auth_anon.c
AddModule mod_auth_db.c
AddModule mod_expires.c
AddModule mod_headers.c
AddModule mod_so.c
AddModule mod_setenvif.c
<IfDefine HAVE_PERL>
AddModule mod_perl.c
<IfDefine HAVE_PHP>
AddModule mod_php.c
<IfDefine HAVE_PHP3>
AddModule mod_php3.c
<IfDefine HAVE_PHP4>
AddModule mod_php4.c
<IfDefine HAVE_DAV>
AddModule mod_dav.c
AddModule mod_roaming.c
<IfDefine HAVE_SSL>
AddModule mod_ssl.c
<IfDefine HAVE_PUT>
AddModule mod_put.c
AddModule mod_python.c
AddModule mod_coldfusion.c

6:21 pm on Dec 1, 2003 (gmt 0)

Senior Member

WebmasterWorld Senior Member jdmorgan is a WebmasterWorld Top Contributor of All Time 10+ Year Member

joined:Mar 31, 2002
votes: 0


Welcome to WebmasterWorld [webmasterworld.com]!

I can't answer your question, but hopefully, someone can.

Let's give this post a <bump> and see.


6:23 pm on Dec 1, 2003 (gmt 0)

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:Dec 16, 2002
votes: 0

mod_gzip's default settings excludes images, which is a very good idea because you cannot compress a gif or jpeg any futher and its a waste of cpu time...

Also some browsers like Safari do not support gzip compression (IE, Mozilla and Opera do however).

2:06 am on Jan 8, 2004 (gmt 0)

Junior Member

10+ Year Member

joined:Nov 25, 2003
votes: 0

On the contrary, Safari does support gzipped files. I did a tail on my access_log to check and it shows that Safari is getting the compressed document. Just a heads up!