httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joshua Slive <>
Subject Re: [users@httpd] Can't access HTML docs via ErrorDocument
Date Fri, 27 Jun 2003 16:01:12 GMT

On Fri, 27 Jun 2003, m wrote:
> Bad Gateway
> The proxy server received an invalid response from an upstream server.
> Additionally, a 502 Bad Gateway error was encountered while trying to
> use an ErrorDocument to handle the request.
> I have set up a directory into which I placed my html documents.  I have
> set up an alias to point to this directory, and I then use the following
> directive
> ErrorDocument 502 /fts_patch_errors/HTTP_BAD_GATEWAY.html

You are probably using "ProxyPass / http://someothersite/"
Now, when apache trys to read /fts_path_errors/..., it sees the ProxyPass
and passes that request off to the other server.  Obviously, that is not
what you want when the other server is unreachable.

You can probably solve your problem by adding the following:
ProxyPass /fts_patch_errors !
which should disable proxying for that directory.



The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message