Hi,
On Don 06.12.2007 18:45, ronan wrote:
> Hi all,
>
> I am trying to use the "Application Cookies" feature (referenced by
> http://haproxy.1wt.eu/download/1.3/doc/haproxy-en.txt) of haproxy
> (version 1.3.13.1) but without success :(
>
Can you build haproxy with -DDEBUG_HASH, and then can you try to run
haproxy with -db -Vd to see if you get the JSESSIONID into the
hashtable.
Thanks
Aleks
> Is this config correct ?
> ____________________________________________________________
> listen LB
> mode http
> retries 2
> redispatch
> contimeout 1000
> clitimeout 5000
> srvtimeout 5000
> maxconn 40000
> bind 127.0.0.1:8081
> balance roundrobin
>
> capture request header Cookie len 200
> appsession JSESSIONID len 52 timeout 1200000
>
> server w1 1.2.3.4:80 check port 80 inter 2000 fall 2 rise 2
> server w2 1.2.3.5:80 check port 80 inter 2000 fall 2 rise 2
>
> option httpclose
> ____________________________________________________________
>
> For this kind of client HTTP requests :
>
> _______________________________________________________________________
> GET /test.jsp
>
> Host: www.site.fr
> User-Agent: Test-User-Agent
> Accept:
> text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
> Accept-Language: fr,fr-fr;q=0.8,en-us;q=0.5,en;q=0.3
> Accept-Encoding: gzip,deflate
> Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
> Keep-Alive: 300
> Connection: keep-alive
> Cookie: JSESSIONID=2FF13861440E7CBE1CFB35027CDAB4B1;
> __utma=46370481.625970449.1196775441.1196954403.1196960730.6;
> __utmz=46370481.1196775441.1.1.utmccn=(direct)|utmcsr=(direct)|utmcmd=(none);
> __utmb=46370481; __utmc=46370481
> ________________________________________________________________________
Received on 2007/12/07 09:10