[Mod_gzip] Configuration Question
Matt Manfredonia
mod_gzip@lists.over.net
Fri, 25 Oct 2002 15:20:04 -0400
This is probably a simple question....
We want to try to compress so js files that are used in script includes. We
have noticed problems with nested js file for browser versions of netscape
(less than v7)
So if I enable compression of .js files:
mod_gzip_item_include file \.htm$
mod_gzip_item_include file \.html$
mod_gzip_item_include file \.js$
Is there a way to configure the server to deny Netscape browsers compressed
files with extension .js?
I figure I can block all Netscape (js and html) with:
mod_gzip_item_exclude reqheader "^Mozilla/4.8"
...
mod_gzip_item_exclude reqheader "^Mozilla/4.01"
or in apache
BrowserMatch "^Mozilla/4.8" 'no-gzip'
...
BrowserMatch "^Mozilla/[1-3]" 'no-gzip'
But I was looking to get more granular
Any help would be great (or if there is a better way to not compress for all
netscape that would be helpful too)
Thanks
--matt