Forum Discussion
Ankur_Goel_2526
Nimbostratus
Oct 16, 2017Need irule to change LB mechanism for particular URI regex
Hi, I am looking an iRule by which I can change LB mechanism (Round robin to weighted) for particular regex URI and rest traffic will be done by Round robin mechanism. Appreciate your response. Thanks!!
- Ankur_Goel_2526
Nimbostratus
I tried this below but not sure if it will work. Please verify this.
when HTTP_REQUEST { if { [HTTP::uri] contains "/authenticate*" } { LB::mode leastconns } else { LB::mode rr }
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