Forum Discussion
Koti_Reddy_Kol1
Nimbostratus
Sep 14, 2018iRule for URL redirection to a pool
Hi Guys,
I’m new to iRule, can someone help with creating iRule for my requirement.
I have two URLs for PROD and DEV with same host name. I want to point PROD traffic to pool A and DEV traf...
Dan_Pacheco
Cirrus
Sep 14, 2018Lots of posts with examples on how to do this, here is one: https://devcentral.f5.com/questions/irule-to-select-pool-based-on-url
In addition to the advice above, also consider ‘string tolower’ since irules are case sensitive. And what do you want to happen if there is no match in the irule. If there is no match the f5 will send traffic to the default pool assign in the vs.
- Koti_Reddy_Kol1Sep 14, 2018
Nimbostratus
Thanks Jaykumar, Piron, and Dan for your response. I will try the options given to me.
- Koti_Reddy_Kol1Sep 18, 2018
Nimbostratus
Finally it's working, thanks all for your help.
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