Hello, I'm trying to disable session persistence unless an ACL is 
matched, let's say like this: 

backend proxy1
    mode http
    balance roundrobin 
    #
    acl backendmon url_dom foo.bar
    ignore-persist unless backendmon
    cookie BESERVER insert indirect nocache
    #
    server virt00 10.30.1.10:80 check cookie virt00
    server virt01 127.0.0.1:80  check cookie virt01

My first intention not to have persistence on domains other than 
"foo.bar" seems fine, no BESERVER cookie inserted: curl -I 
http://www.bar.foo/index.html

But when I do provide my own cookie, I can see I'm being load balanced 
in roundrobin: curl -I -b "BESERVER=virt01" http://www.foo.bar/index.html 


Could you point out which ignore-persist sentence in the manual I failed 
to comprehend? Thanks! 


-- 
Adrian C. (anrxc) | anrxc..sysphere.org | PGP ID: D20A0618
PGP FP: 02A5 628A D8EE 2A93 996E  929F D5CB 31B7 D20A 0618

Reply via email to