Forum Discussion
CarlT
Altostratus
Feb 04, 2020Same VIP - 2 URI's to different pools via irule - HELP
Hi Guys I am trying to send traffic to 2 different pools depending on the http uri they are trying to reach, the below syntax will not take, can someone assist when HTTP_REQUEST { if { [HT...
nathe
Cirrocumulus
Feb 04, 2020CarlT,
Couple of suggestions. Firstly I think you're using the wrong command (HTTP::uri), you should be using HTTP::host.
Secondly, you can tidy up the rule by using logic, rather than a duplicate HTTP_ REQUEST event. Using if/elseif instead. See this article for help.
Hope this helps.
N
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
DevCentral Quicklinks
* 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
Discover DevCentral Connects