I have 2 different tomcat servers: T1 , T2
My clients that refer to my load balancer are providing the url parameter called "gender" (0 - for Male users , 1 - for Female users). only the url parameter is different between a male and a female call.
I would like to balance with haproxy to T1, T2 according to the gender parameter. (Males will be redirected to T1, Females to T2)
How can i Achieve that?