Singh_74932
Oct 08, 2008Nimbostratus
conditional select
Ok here is what i want to do and i tried witting some thing my self this time :
Logically :
if host name = xyz.com
then select pool member a from
else if host name = abc.com
select pool member b from same pool
Syntax :
when HTTP_REQUEST {
if { [HTTP::host] equals "xyz.com" } {
LB::reselect pool myPool member1
} else if {[HTTP::host] equals "xyz.com" }
LB::reselect pool myPool member2
}
Let me know