httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Graham Leggett <>
Subject Re: mod_proxy errors?
Date Wed, 21 Aug 2002 07:34:23 GMT
Chris Taylor wrote:

> I have setup a proxy server on Apache, but if the upstream webserver is 
> off at the time, it's pages return 502/Bad Gateway, presumably via 
> mod_proxy.
> However, under Apache 2 (2.0.39 on win32 at least), the errors look like 
> this (taken straight from the browser):
> I can only assume that the HTML code there should be evaluated and 
> shown, but in the source it's clearly generated as: "&lt;EM&gt;&lt;A 
> HREF="/ps2/"&gt;GET&amp;nbsp;/ps2/&lt;/A&gt;" etc etc.
> Is this a bug in mod_proxy?

It looks like an HTML error message is generated with a content-type of 
text/plain. This isn't a bug with proxy, but rather with the code that 
generates the errors.

Use wget -S <url> to show the headers that are returned, this should 
show for sure.

	"There's a moon
					over Bourbon Street

View raw message