Hi Chris,

I had just set this up yesterday, incompatible IE6 restrictive mod_deflate config looks like:

<IfModule mod_deflate.c>
       BrowserMatch ^Mozilla/4 gzip-only-text/html
       BrowserMatch ^Mozilla/4\.[0678] no-gzip
       BrowserMatch \bMSIE\s(7|8) !no-gzip !gzip-only-text/html
       AddOutputFilterByType DEFLATE text/html text/plain text/xml
</IfModule>

Basically it adds restriction for Mozilla 4.__ (including IE6, 7, 8) but then removes the restriction if there is MSIE 7 or 8 in the user agent header.

Cheers,
Stig

James McGlinn wrote:
Hi Chris,

I use Apache 1.3 with the mod_gzip module loaded on the server.
I'd like to compress all the static files like CSS and JS

Just a general heads-up - you might want to put in a rule to avoid compressing 
Javascript for IE6 users.  Some versions of IE6 will cache the compressed 
version and forget to uncompress it.

Can't help you with the specifics of mod_gzip configuration sorry.


Kind regards,
James McGlinn

--
NZ PHP Users Group: http://groups.google.com/group/nzphpug
To post, send email to [email protected]
To unsubscribe, send email to
[email protected]

Reply via email to