i'm trying to get mod_proxy and mod_gzip to work together.
both modules seem to work. but they will not work together.
mod_gzip will only work if i tried to down load a website that is
hosted on the local server, with out using mod_gzip.
I have mod_proxy compiled into apache as you can see from querying
httpd -l
Compiled-in modules:
http_core.c
mod_env.c
mod_log_config.c
mod_mime.c
mod_negotiation.c
mod_status.c
mod_include.c
mod_autoindex.c
mod_dir.c
mod_cgi.c
mod_asis.c
mod_imap.c
mod_actions.c
mod_userdir.c
mod_alias.c
mod_access.c
mod_auth.c
mod_proxy.c
mod_so.c
mod_setenvif.c
suexec: disabled; invalid wrapper /usr/local/apache/bin/suexec
I dynamically load mod_gzip. this is the only module i load dynamically.
here are the statemnts i have in my http.conf file that pertain to mod_gzip
..
..
# Example:
# LoadModule foo_module libexec/mod_foo.so
LoadModule gzip_module libexec/mod_gzip.so
..
..
..
<IfModule mod_gzip.c>
mod_gzip_on Yes
mod_gzip_can_negotiate Yes
mod_gzip_add_header_count Yes
mod_gzip_minimum_file_size 500
mod_gzip_maximum_file_size 500000
mod_gzip_temp_dir /tmp
mod_gzip_keep_workfiles No
mod_gzip_maximum_inmem_size 60000
mod_gzip_dechunk Yes
mod_gzip_item_include mime ^text/*
mod_gzip_item_include file \.html$
mod_gzip_item_include file \.htm$
mod_gzip_item_include handler proxy-server
mod_gzip_item_include handler cgi-script
mod_gzip_item_exclude rspheader Content-Type:image/*
mod_gzip_item_exclude mime text/css
mod_gzip_item_exclude file \.js$
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$
CustomLog logs/mod_gzip.log
common_with_mod_gzip_info2
</IfModule>
..
..
..
the log file is generated for all files that are download. but there are no
statistics in the log file.
any one know what i might be doing wrong?
Thanks
Mark
>> Stay informed about: mod_proxy and mod_gzip