Forum Discussion
LaJuan_267846
Nimbostratus
Oct 22, 2017iRule for Single Wildcard VIP to Multiple Pools
I need suggestions for troubleshooting or help resolving how to send requests to a single domain to multiple pools based on the URL path. For example: https://apps.mydomain.com/dev/, https://apps.myd...
RaghavendraSY
Altostratus
Oct 22, 2017You can try with below irule and you can tweak according to your requirement. when HTTP_REQUEST { if {([HTTP::host] equals "; ) } { pool pool1 } elseif { ([HTTP::uri] starts_with "/dev")} { pool pool2 } elseif { ([HTTP::uri] starts_with "/qa")} { pool pool3 } elseif { ([HTTP::uri] starts_with "/test")} pool pool4 } }
Hope this helps.
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