httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <sterl...@covalent.net>
Subject Re: [PATCH] Re: Apache 2.0.34-dev Sends Wrong Content-Type on 404
Date Fri, 08 Mar 2002 04:57:42 GMT
On Thu, 7 Mar 2002, Jerry Baker wrote:

> sterling@covalent.net wrote:
> > 
> > On Thu, 7 Mar 2002, Jerry Baker wrote:
> > 
> > > Do you think that Apache is not reading the HTTP_NOT_FOUND.html.var file
> > > correctly which explicitly states that it should be text/html?
> > 
> > is it showing the content from that var file?  what is the content you are
> > seeing (the plain html).
> > 
> > sterling
> 
> Straight out of the var file (from the "en" section).


well, the workaround is to set DefaultType text/html.  The real problem, 
however, seems to be the fact that only the subrequest gets the content 
type set to text/html in this case, while the main request still has the 
content_type set to NULL (hence it uses the default).

I'll work on a patch that properly sets the content type to the type in 
the var file.

sterling


Mime
View raw message