Hello,
I have installed mod_gzip on my server and it seems to be working great for files that have suffixes such as http://www.domain.com/page.htm
However, I have many pages which are called by the browser as
http://www.domain.com/base_file/arg1/arg2/arg3
where base_file is a regular php script (I set the default mime type to be php4) and arg1 through 3 are simply argument parameters.
However, I cannot find a way to get mod_gzip to compress requests such as
http://www.domain.com/base_file/arg1/arg2/arg3
I fear that this was because base_file does not have a suffix. Here is my configuration in apache:
<IfModule mod_gzip.c>
mod_gzip_on Yes
mod_gzip_dechunk Yes
mod_gzip_minimum_file_size 1024
mod_gzip_maximum_file_size 0
mod_gzip_maximum_inmem_size 60000
mod_gzip_keep_workfiles No
mod_gzip_temp_dir /tmp
mod_gzip_item_include file .htm$
mod_gzip_item_include file .html$
mod_gzip_item_include file .php$
mod_gzip_item_include mime text/.*
mod_gzip_item_include mime application/x-httpd-php
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 .css$
mod_gzip_item_exclude file .js$
mod_gzip_item_exclude mime image/.*
mod_gzip_item_exclude reqheader "User-Agent: .Opera."
</IfModule>
Is there anything I can do to get mod_gzip to compress urls that include "base_file" without the file suffix?
I am a newbie in these file descriptors so specific examples are very appreciated.
Thank you for your help.