Forum Discussion
Sams_88783
Nimbostratus
Jun 23, 2011Irule Help
There was a “begins with” clause in version 4.x that we used to route traffic based on the context root of the URL's.
I need to know if the “begins with” has been completely removed or replaced with something else in version 9.x
2 Replies
- hoolio
Cirrostratus
Hi,
In v9 and higher, you can use starts_with. But to do multiple URI checks, it would be more efficient to use a switch statement:
http://devcentral.f5.com/wiki/default.aspx/iRules/operators
http://devcentral.f5.com/wiki/default.aspx/iRules/starts_with
http://devcentral.f5.com/wiki/default.aspx/iRules/switch
Aaron - Sams_88783
Nimbostratus
Thanks Aron
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