Forum Discussion
Using Policy to manage URI /api traffic
I have a case where the application being serviced by a VS 10.xxx.xxx.xxx:443 takes me to a landing login page on a pool, but after keying in user name and Password on the login page, a URI /api traffic is redirected to another port 5446 in the same node.
I have created two pools, one on 443 and the second on 5446 and tried using Policy to manage the traffic from Pool:443 to Pool:5446 but I have this error, when the policy is applied, the landing page on 443 can no longer be reached. how can I set the policy to handle and redirect the traffic after the /API?
- youssef1
Cumulonimbus
Hi,
You can achieve your need using a ltm policy:
- First rule (TOP): if HTTP URI path starts_with /api, forward traffic to pool 5446
- second rule (default): forward traffic to pool 443
Then attach your policy to your VS...
Try this an keep me in touch.
regards
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