29-Jul-2020 08:36
Hi we have a pair of F5 in active active configuration on BIG-IP 2000. I want to setup routing based on web directory .
what i mean is
https://foobar.com should got to a different pool
and https://foobar.com/api should go to a different pool .
How do i achieve this?
04-Aug-2020 10:19
You can do this with a local traffic policy, or (less efficient) an irule, attached to the VS. The irule would use HTTP::uri, coupled with the "pool" command. If you set a default pool for the VS, then all you need your rule to do is detect exceptions, and over-ride the default with your other pool.
Here's what a policy would look like if you didn't set a default pool: