Re: Go to fallback server if regular server returns an error?

From: Willy Tarreau <w#1wt.eu>
Date: Thu, 11 Sep 2008 22:52:38 +0200


Hi guys,

On Thu, Sep 11, 2008 at 10:41:37AM -0500, Nate Carlson wrote:
> On Wed, 10 Sep 2008, Aleksandar Lazic wrote:
> >do you have tried:
> >
> >option redispatch
> >
> >but I'am not sure if this option works also with fallback server.
>
> Sorry, by 'error', I actually meant a 403-type error. I see I can actually
> do this with 'errorloc' - cool! I will give that a shot. ;)

redispatch will retry the request on another server if it failed to establish the connection. If the request was already sent to the server, and the server does not reply, it will not be replayed (requires double-buffering, and too dangerous BTW).

Regards,
willy Received on 2008/09/11 22:52

This archive was generated by hypermail 2.2.0 : 2008/09/11 23:01 CEST