httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mark Stevens" <mark.steven...@googlemail.com>
Subject Re: How to use ErrorDocument Directive when Apache is configured as pure reverse proxy.
Date Fri, 19 Dec 2008 00:44:49 GMT
I'll have another try and re-directing to external server, it seemed to be
getting ignored last time I tried.

Many thanks,

Mark.
2008/12/18 Eric Covener <covener@gmail.com>

>  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