Forum Discussion
Web Directory based routing on F5 Big IP
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?
- Gym
Cirrus
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:
Recent Discussions
Related Content
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com