Forum Discussion
I hope your abc.com is resolving to 1.1.1.1 VIP. And you want the traffic to be forwarded to a particular pool member if its starting with URI - /APICherwell, You dint say what the pool of the pool member is, hoping its 443, try the below. Where pool_name is the default pool consisting all the pool members. Map the below to the 1.1.1.1:443 VIP and test it.
when HTTP_REQUEST { if { [HTTP::uri] starts_with "/APICherwell" } { node 2.2.2.3 443 log local0. "APICherwell uri traffic has come, specific pool member selected" } else { pool pool_name } }
You can also use -
to choose a particular pool member inside a pool. Refer Article for selecting pool members.pool pool_name member 2.2.2.3 443
- SnlCirrostratus
try below
Code when HTTP_REQUEST { if { [HTTP::uri] equals "abc.com/APICherwell" } { node 2.2.2.3 80 else { pool default_pool }} } }