[Mod_gzip] Application/pdf and mod_gzip
mod_gzip@lists.over.net
mod_gzip@lists.over.net
Tue, 27 Jan 2004 10:32:42 +0100
Hello the list,
I have some problems using mod_gzip with application/pdf content.
I excluded this mime type from the compression in my config (and it's indeed
excluded if I trust the log). Neverthless when opening a page which has
application/pdf as Content-type, IE fires acroread and that's all. The pdf file
doesn't load.
This situation is kind of wierd and looks like an acroead problem as I have no
problem with mozilla/gpdf under linux.
Note : as the pdf isn't compressed, it's not the same problem than the one
explained here : http://www.schroepl.net/projekte/mod_gzip/browser.htm.htm#Acrobat
Does someone know a workaround to this problem ? I don't find any reference
about that (or only poors one).
I tried to remove the "Vary:Accept-Encoding" header by adding the header
"Pragma: no-cache", but it doesn't apparently work. May my problems a
consequence of the "vary" header, and if yes, how can i remove it ?
Any help is welcome
Thanks
MR.