httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joshua Slive <jsl...@gmail.com>
Subject Re: [users@httpd] ProxyErrorOverride
Date Mon, 28 Jun 2004 19:22:37 GMT
On Tue, 29 Jun 2004 03:16:27 -0400 (Eastern Daylight Time), Paul
Deveau <pdeveau@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


Mime
View raw message