Forum Discussion
Sams_88783
Jun 23, 2011Nimbostratus
Irule 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 w...
hooleylist
Jun 23, 2011Cirrostratus
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
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