Forum Discussion
iRule for pool selection based on HTTP::URI
My default VS is "prod_vs" on 443 and default pool is "prod_pool" with 4 members (app{1-4}:7001). I'm doing SSL offloading on LTM. This has been working for me for years. Now I got a new requirements where I had to create a new pool "states_pool" and assign 2 members (app{4,5}:8080) under this pool. My goal is to if clients hit @ https://secure.mydomain.com then LTM would forward the request to "prod_pool" and if clients hit https://secure.mydomain.com/states/ then LTM would forward the request to "states_pool". Which is why I was trying to use the iRule.
With the iRule when I hit https://secure.mydomain.com it's working as expected but when I hit https://secure.mydomain.com/states/ it's being redirected to http://secure.mydomain.com.
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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