Forum Discussion
Jan 23, 2017
Hi Andrey,
Could you include logging in your irule to see if there is a match?
when HTTP_REQUEST {
set hostname [string tolower [HTTP::host]]
if { $hostname contains "site1.com" } {
pool pool1
log local0. "pool1 selected"
} elseif { $hostname contains "site2.com" } {
pool pool2
log local0. "pool2 selected"
} elseif { $hostname contains "site3.com" } {
pool pool3
log local0. "pool3 selected"
}
}
Cheers,
Kees