View Single Post
Old 14th May 2012, 13:38
mccyberix mccyberix is offline
Join Date: Aug 2006
Posts: 74
Thanks: 0
Thanked 1 Time in 1 Post

i have just noticed when I'm trying to login via the virtual IP I get the squirrelmail message "you must be logged in to access this page", when I refresh this page squirrelmail shows me the list of my emails but when I try to open one I'm logged out, so I think my sessions are not handled correctly...
here is my HAProxy config, maybe I've configured somthing wrong:
log local0
log local1 notice
#log loghost local0 info
maxconn 4096
user haproxy
group haproxy

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

listen webfarm
mode http
option httplog
stats enable
stats auth userass
balance roundrobin
cookie JSESSIONID prefix
option httpclose
option forwardfor
option httpchk HEAD /check.txt HTTP/1.0
server webA cookie A check
server webB cookie B check

listen smtp
mode tcp
option tcplog
balance roundrobin

server smtpA weight 1 maxconn 500 check
server smtpB weight 1 maxconn 500 check
Reply With Quote