Take the 2-minute tour ×  I need to set the no-gzip flag if a
request is coming from the Mozilla browser and the content being
requested uses the mime type application/pdf. This seems like it
should be fairly trivial, but I'm having some trouble figuring
out the proper way of expressing it.  I've got the browser check
using the following:  BrowserMatch ^Mozilla moz  From what I
understand, that statement will set the environment variable
'moz' to true if the browser is Mozilla. After this though, I'm
having some trouble. Specifically, I can't seem to find a way to
figure out the content-type that's going to be returned. From
looking at a list of apache environment variables, HTTP_ACCEPT
seemed related, but I can't find a reference to the proper
syntax for checking. From tutorials that I read, I had assumed
that something along the lines of:  %{HTTP_ACCEPT}
application/pdf pdf  would set the 'pdf' variable to true, but
the apache sever wouldn't start (giving the strong hint that
that's not right at all). A cow