httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eric Covener" <cove...@gmail.com>
Subject Re: How to use ErrorDocument Directive when Apache is configured as pure reverse proxy.
Date Thu, 18 Dec 2008 22:38:17 GMT
On Thu, Dec 18, 2008 at 5:04 PM, Mark Stevens
<mark.stevens99@googlemail.com> wrote:
> Hi all,
>
> Anyone had any luck with serving custom error documents when Apache is
> configured as a reverse proxy?  I do not have a DocumentRoot, just Rewrite
> and ProxyPass back to application server?
>
> When the back end is overloaded, Apache generates it's generic 503 Page, I
> need to change this default Apache 503 page to a custom 503, this will need
> to come from Apache flat file not the back end server.
>
> I have tried adding a DocumentRoot and exclusion RewriteCond, but mod proxy
> and Apache seem to be intercepting the request and trying to serve it from
> the back end server that is being reverse proxied.

Use the form of ErrorDocument that just specified a string, or a fully
qualified URL to redirect to another server or vhost (that doesn't
proxy).

-- 
Eric Covener
covener@gmail.com

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message