Forum Discussion
hooleylist
Nov 15, 2006Cirrostratus
The rule looks fine. Just make sure that you have it associated with the VIP under the VIP's resources tab.
You can add a log statement to determine the exact host and URI the client is requesting:
when HTTP_REQUEST {
log local0. "client: [IP::remote_addr] -> [HTTP::host][HTTP::uri]"
if { [string tolower [HTTP::host]] equals "beta.mywebsite.com"}{
pool pool_A
}
else {
pool pool_B
}
}
Aaron