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

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:
Quote:
global
log 127.0.0.1 local0
log 127.0.0.1 local1 notice
#log loghost local0 info
maxconn 4096
#debug
#quiet
user haproxy
group haproxy

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

listen webfarm 192.168.1.100:80
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 192.168.1.105:80 cookie A check
server webB 192.168.1.106:80 cookie B check

listen smtp 192.168.1.100:25
mode tcp
option tcplog
balance roundrobin

server smtpA 192.168.1.105:25 weight 1 maxconn 500 check
server smtpB 192.168.1.106:25 weight 1 maxconn 500 check
Reply With Quote