disable gzip on a given location

disable gzip on a given location

am 23.10.2007 11:14:19 von lgr888999

Im trying to disable mod_deflate on a given locationmatch but i cant
manage to make it work. the problem is that i have a download.php
which sets the header to application/octet-stream and generates a exe
for download so i would like to turn of gzip for that location. any
ideas?

My config:

SetOutputFilter DEFLATE
SetEnvIfNoCase Request_URI \.(?:gif|jpe?g|png|exe|t?gz|zip|bz2|sit|rar|
swf|pdf|mp3|mov|flv|cab)$ no-gzip dont-vary
BrowserMatch ^Mozilla/4 gzip-only-text/html
BrowserMatch ^Mozilla/4\.0[678] no-gzip
BrowserMatch \bMSIE !no-gzip !gzip-only-text/html
Header append Vary User-Agent env=!dont-vary

RemoveOutputFilter DEFLATE