Apahce - How to disable gzip content encoding (eg DEFLATE) for one set of URLs?

Posted by Rory McCann on Server Fault See other posts from Server Fault or by Rory McCann
Published on 2010-02-02T17:02:14Z Indexed on 2010/03/12 4:07 UTC
Read the original article Hit count: 496

Filed under:
|
|

I have a ubuntu apache webserver and I have enabled mod_deflate to gzip all the content. However there's one folder I'd like to disable the mod_deflate for. I was going to do something like this:

<Location /myfolder>
   RemoveOutputFilter DEFLATE
</Location>

But that doesn't work.


Rational: I am trying to debug an XMLRPC server and I am using wireshark to see what gets past in the HTTP requests, since the replies are gzipped, I can't see what's going on.

© Server Fault or respective owner

Related posts about apache

Related posts about mod-deflate