[EMAIL PROTECTED], you wrote:
> 
> Synopsis: Incorrect content-type for `foo.ps.gz' file
> 
> The change you propose is bogus.  Consider a file named
> foo.jpeg.gif.  Before your change it would be sent
> as a gif, as it should, after it would be sent as a jpeg.

Ah.  You are correct, my suggested code to fix the bug does
not work.  However, Apache's behaviour is still buggy, and
ought to be fixed, IMHO.

> Your problem probably comes from having both a 
> content-type and content-encoding for .gz files.  Remove
> the AddType or entry in your mime.types for .gz files
> and things will work as they should.

There is nothing in the documentation that says that it is not
OK to have both a content-type and content-encoding for .gz files.
Apache does not report this as a configuration error, instead it
just produces bogus results.

If this is not a valid configuration, then the documentation should
say so, and Apache ought to detect the problem.  IMHO.

-- 
Fergus Henderson <[EMAIL PROTECTED]>   |  "I have always known that the pursuit
WWW: <http://www.cs.mu.oz.au/~fjh>   |  of excellence is a lethal habit"
PGP: finger [EMAIL PROTECTED]         |     -- the last words of T. S. Garp.

Reply via email to