My Load Module
LoadModule gzip_module libexec/mod_gzip.so (second from last)
My AddModule:
AddModule mod_gzip.c (it is also second from last)
The config I tacked onto the bottom of httpd.conf
################# Mod_GZIP ##################
#
http://www.remotecommunications.com/apache/mod_gzip/ LogFormat "%h %l %u %t %r %>s %b mod_gzip: %{mod_gzip_compression_ratio}npct." common_with_mod_gzip_info1
LogFormat "%h %l %u %t %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/gzip.log common_with_mod_gzip_info2
mod_gzip_on yes
mod_gzip_dechunk yes
mod_gzip_minimum_file_size 200
mod_gzip_maximum_file_size 0
mod_gzip_maximum_inmem_size 100000
mod_gzip_keep_workfiles No
mod_gzip_temp_dir /tmp
mod_gzip_item_include file .html$
mod_gzip_item_include mime ^text/.*
mod_gzip_item_include mime ^httpd/unix-directory$
mod_gzip_item_include handler ^server-status$
mod_gzip_item_include handler ^server-info$
mod_gzip_item_exclude file .cgi$
mod_gzip_item_exclude file .pl$
mod_gzip_item_exclude file .php$
mod_gzip_item_exclude file .css$
mod_gzip_item_exclude file .js$
################# Mod_GZIP ##################
I removed the dechunk options and have php, .pl, and .cgi disabled for the reasons stated in my above post.
The handler for server info can come out, I have that disabled further up in the conf file.
My log is really too verbose as you can see and should be trimmed back more but I haven't taken the time to mess with it.
This is from my own server in the configuration I mentioned above as well, using a version of mod_gzip a bit older then the most current.
I really do need to work on the whole package some more but I want to rewrite my httpd.conf as a perl script when I do it and don't have the time for it now.