url_param in configure file

From: vaibhav pol <vaibhav4947#gmail.com>
Date: Wed, 28 Jan 2009 14:57:47 +0530

Hi I am using haproxy with 2 web server .

when client send request each time he send query string with parametre username

example :

and my requirement is when I don't want to use cookies when same username come in query string it always sent to the same server .

as log as no server goes down other wise use rondrobin algorithm.

i use url_param in haproxy.conf file

below is my haproxy configuration file setting .


       log   local0 info
       maxconn 4096

        log     global
        mode    http
        option  httplog
        option  dontlognull
        option redispatch
        retries 3
        maxconn 2000
        contimeout      5000
        clitimeout      50000
        srvtimeout      50000

frontend www
        default_backend back_std

backend back_std
        balance url_param username
        option redispatch
        option httpclose
        option forwardfor
        server tb1
        server tb2


but it's not working is any thing i am missing .

please suggest me .

thanks in advance. Received on 2009/01/28 10:27

This archive was generated by hypermail 2.2.0 : 2009/01/28 10:30 CET