Forum Discussion
Vijay_E
Jul 21, 2016Cirrus
Untested:
When HTTP_REQUEST {
if { [HTTP::host] eq "abc.com" } {
if { [HTTP::uri] equals "/app1" } {
pool POOL-APP1
} elseif { [HTTP::uri] equals "/app2" } {
pool POOL-APP2
}
}
}
https://devcentral.f5.com/articles/irules-101-01-introduction-to-irules