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):
[snip]
> I can only assume that the HTML code there should be evaluated and
> shown, but in the source it's clearly generated as: "<EM><A
> HREF="/ps2/">GET&nbsp;/ps2/</A>" 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.
Regards,
Graham
--
-----------------------------------------
[EMAIL PROTECTED]
"There's a moon
over Bourbon Street
tonight..."