Forum Discussion
Mohammed_Moin_2
Nimbostratus
Nov 19, 2018Redirect the uri to particular pool
Hi, Need your help. I need a irule that states as below https://test.com/authenticate/* shall be redirect to pool "POOL_AUTH"
Kindly any suggestion please. thanks a lot
- Lee_Sutcliffe
Nacreous
Hi Mohammed,
Please search previous posts - this is one the most commonly asked questions and there are a great many examples of how to do this on DC.
The HTTP::uri wiki page also gives an example.
https://devcentral.f5.com/wiki/iRules.HTTP__uri.ashx
I would also advise you look into Local Traffic Policies as you can do the same without needing to use an iRule
- Snl
Cirrostratus
try below
when HTTP_REQUEST { if { [string tolower [HTTP::uri]] start_with "/authenticate/" } { pool POOL_AUTH } }
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