hi all, i’m looking to implement the following iRule below. What I’m not sure of if I want to redirect to a member of ANOTHER pool. is that possible to do?
(iRule for Pool 1)
}
when HTTP_REQUEST {
if { [HTTP::uri] starts_with "/web01" } {
node 192.168.101.1 80
} elseif { [HTTP::uri] starts_with "/web02" } {
node 192.168.101.2 80
} else {
pool pool-2
node 192.168.101.20 80
}
pool pool-2
node 192.168.101.20 80
Is this syntax valid? Can I redirect it to another pool and member?
thanks in advance.