2009/8/27 Vadim Bazilevich <[email protected]>:
> 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/