Help me please

From: Vadim Bazilevich <bvv2001#gmail.com>
Date: Thu, 27 Aug 2009 22:24:01 +0300


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

global
uid 1004
gid 1002
daemon
#stats socket /var/run/haproxy.stat mode 600 log 127.0.0.1 local4
maxconn 40000
ulimit-n 80013
pidfile /var/run/haproxy.pid
defaults
log global
mode http
contimeout 4000
clitimeout 42000
srvtimeout 43000
balance roundrobin
listen XXX.COM x.x.x.x:80
mode http
option forwardfor
stats enable
stats auth bvv2001:la-la-la
cookie XXX.COM insert
source 0.0.0.0 usesrc clientip
server server1 x.x.x.x:10000 cookie XXX.COM check server server2 x.x.x.x:10001 cookie XXX.COM check dst_port 10000 if url_sub !sms
dst_port 10001 if url_sub sms

this config NOT WORKING
Help me please!

Best regards, Vadim Received on 2009/08/27 21:24

This archive was generated by hypermail 2.2.0 : 2009/08/27 21:30 CEST