Re: Help me please

From: Jean-Baptiste Quenot <jbq#caraldi.com>
Date: Thu, 3 Sep 2009 10:40:48 +0200


2009/8/27 Vadim Bazilevich <bvv2001#gmail.com>:

> Hi friends! I used haproxy in my project. But I have one problem. What I can
> switch between two backends servers (me need used rule url_sub) if I used
> haproxy as frontend

Define two backends, backend10000 and backend10001 and one frontend.

In the frontend section do something like this:

    use_backend backend10001 if url_sub sms

And of course you have to define the two ACLs url_sub and sms, which do not appear in your config.

-- 
Jean-Baptiste Quenot
http://jbq.caraldi.com/
Received on 2009/09/03 10:40

This archive was generated by hypermail 2.2.0 : 2009/09/03 10:45 CEST