Antwort: Re: Antwort: [Mod_gzip] Issues with 1.3.26.1a: TIFF corrupted (if excluded) and 'Go Back' broken on Win98
Keith Waters
mod_gzip@lists.over.net
Thu, 6 Feb 2003 08:10:44 +0200
Hi Michael,
> > I replaced all my rules with a simple "mod_gzip_item_include
> > uri \.p?html?$" (as per somebody's suggestion), and it seemed
> > to solve the TIFF problem.
>
> Did you try using the current CVS version of the source code?
> It seems that Christian Kruse has fixed a bug related to the
> creation of the "Vary:" headers in combination with "exclude"
> rules after 1.3.26.1a had been released.
I will try this.
> As an alternative, you might try to replace excluding a file type
> by turning off mod_gzip for this file type, such as
>
> <Files *.tiff>
> mod_gzip_on no
> </Files>
Good idea, but it wont work in my specific instance, because it's a .phtml
file that sends a 'content-type: image/tiff' header. It's also as much a
work-around (to get the page to work) as what I did in the first place
(putting in an 'include' for image/tiff), since it didnt work with
image/tiff excluded. Let me try the CVS version first. Hopefully, as you
say, the problem is fixed and there's no need for further discussion.
> >> > 2) Worse than this, certain PCs running IE on Win98 started to give
> 'page
> >> > has expired' when clicking on a 'Go Back' button.
> >> Which HTTP method did the previous page (the one you wanted to go
> >> "back" to) use, GET or POST?
> >> And which HTTP methods did you configure to be gzipped?
> > This problem still persists. It was a POST page. I tried with my
> > new one-liner 'include' configuration and it still did this. What now?
>
> Turn off mod_gzip for either this URL or the whole POST method.
>
> Apache itself would be able to do the same with
> <Limit POST>
> mod_gzip_on no
> </Limit>
Isn't turning off compression (for POST) rather a bit of a cop-out? (Curing
the symptoms but not the underlying problem?) With the old version of
mod_gzip, it worked 100%, which means I will effectively get LESS
comperssion with the new version if I do this!
I will try the CVS version and come back to you.
regards,
Keith