Welcome to MobyThreads.com!
FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in
All support for the MobyThreads Threaded phpBB MOD can now be found on welsolutions at this forum

disable gzip on a given location

 
   Web Hosting and Web Master Forums (Home) -> Apache RSS
Next:  removing charset information from http-headers  
Author Message
lgr888999

External


Since: Oct 23, 2007
Posts: 1



(Msg. 1) Posted: Tue Oct 23, 2007 6:59 am
Post subject: disable gzip on a given location
Archived from groups: alt>apache>configuration (more info?)

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
<LocationMatch "/(.*)\/download(.*)">
RemoveOutputFilter DEFLATE
</LocationMatch>

 >> Stay informed about: disable gzip on a given location 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
How to dynamically add <Location> - Hi all, I'm trying to find a way to add dynamically <Location> to apache server. A Intranet web application needs to create/delete by itself <Location>. Right now I'm working with Include afile.conf In this file a script is automatically...

Location - proxypass/proxpassreverse - I want to add a location which has an ip address , which includes a port number ( not Port 80) eg 10.6.31.206:8765. However I'am unable to even browse (using the Konquera webbrowser) a website with a port number eg 10.6.31.205:222 any ideas ? Thanks ...

Different Auth config in different <Location>'s - Hi, I would like to configure the root <Location> with one Auth command-set and another location below that tree with another Authorization, overwriting the first one. Unfortnuately I dont know if thats possible, and as far as i read the Docs..

Alias URL with off-server location - Hi. In the hope of not asking an FAQ, here's my question: On a server with Apache 1.3.27 (Linux 2.2) I want to create an ALIAS for a single URL. The source location is off-site (another URL) and should be downloaded and forwarded by Apache every time....

mime types and dav location. - Hello, Apache doesn't provide mime types in http headers when i browse a dav Location (for a dav_svn repository). I tried to set a DefaultHandler but it doesn't change anything. <font color=purple> ; Is this normal ?</font>...
   Web Hosting and Web Master Forums (Home) -> Apache All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]