Forum Discussion
I modified the irules and tried parsing the on the header, it initiall works but now the issue seems that even when the header doesn't match it still gets routed to the wrong pool. I have no persistence configured on the VIP.
when i login with a username containing xxxxx it goes to the correct pool. Next login uses a different username such as yyyy and it should go to the 2nd pool but it doesnt, I verified via tcpdump it still goes to the first pool
when HTTP_REQUEST {
if { [HTTP::header "UN"] contains "@xxxxx" } {
pool Pool1
} else {
pool Pool2
}
}
---------------------------------------------------------------------------------
second irule uses a data group and string value no such luck:
when HTTP_REQUEST {
if {[class match [HTTP::header "UN: "] contains UserID] } {
pool Pool1
} else {
pool Pool2
}
}
---------------------------------------------------------------------------------
Any idea's on why this is occuring if the persistence profile is sent to none ?