Forum Discussion
JRahm
Mar 22, 2007Admin
Assuming the requests are standard http, or you are terminating SSL on the LTM, this should work for you:
when HTTP_REQUEST {
if { [string tolower [HTTP::host]] equals "url.mydomain.com" } {
pool pool1
} elseif { [string tolower [HTTP::host]] equals "url2.mydomain.com" } {
pool pool2
} else { pool default_pool }
}