You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Joshua Slive <js...@gmail.com> on 2004/06/28 21:22:37 UTC

Re: [users@httpd] ProxyErrorOverride

On Tue, 29 Jun 2004 03:16:27 -0400 (Eastern Daylight Time), Paul
Deveau <pd...@uottawa.ca> wrote:
> 
> Hi:
> 
> I run Apache 2.0.44 on AIX 5.2 as a reverse proxy running mod_proxy and I
> can't figure out a problem I'm having with the ProxyErrorOverride
> directive. Essentially, instead of having the browser render a page
> defined in ErrorDocument I receive an "Additionally, a 502 bad gateway
> error was encountered while trying to use an ErrorDocument to handle the
> request." error message. Can I not simply use
> ErrorDocument 404 /errors/404.html to generate my page?

I'm guessing you can fix this by including this BEFORE your existing
ProxyPass directives:
ProxyPass /errors !
This will prevent Apache from trying to grab the error document from
the origin server.

Joshua.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org