I'm trying to figure out how to disable or uninstall gzip from my Ubuntu server. This is to support a package of buggy software that breaks when it's trying to do a crazy call to a css file (don't ask, the code architecture is horrifying). The support team suggested that I uninstall gzip from my server to fix the problem.
I see this in my phpinfo();
HTTP_ACCEPT_ENCODING gzip,deflate,sdch
But I can't figure out where in Apache to set or disable this thing. I did find the below stuff in a file called magic when trying to find where deflate was being used (my research indicated deflate and gzip are linked somehow):
0 string \037\235 application/octet-stream x-compress
# gzip (GNU zip, not to be confused with [Info-ZIP/PKWARE] zip archiver)
0 string \037\213 application/octet-stream x-gzip
# According to gzip.h, this is the correct byte order for packed data.
0 string \037\036 application/octet-stream
#
# This magic number is byte-order-independent.
#
0 short 017437 application/octet-stream
I just want to turn gzip off for this application to see if my page will stop throwing a 416 HTTP error.
Best Answer
Disable the
mod_deflate
andmod_gzip
modules.In Debian-types:
In RedHat-types, modify the
*.conf
files stored in/etc/httpd/conf.d/