Re: How to use ErrorDocument Directive when Apache is configured as pure reverse proxy.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Dec 18, 2008 at 5:04 PM, Mark Stevens
<mark.stevens99@xxxxxxxxxxxxxx> 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@xxxxxxxxx

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux