Forum Discussion
Cosby_17532
Feb 23, 2011Nimbostratus
Using wildcards with classes
I'm in desperate need of help with an iRule for a customer. They are converting a working 9.x rule to 10.x. In the process we changed it from an array to a class. The class calls an external file w...
hooleylist
Feb 23, 2011Cirrostratus
Hi Cosby,
I'd break up the datagroup into one that has all of the "equals" matches (/A1/, /B1/, etc) and another that has the "starts_with" matches (/A1/*, /B1/*, etc entered in the datagroup as /A1/, /B1/, etc). You can then use [class match -element [HTTP::path] equals uris_datagroup] and [class match -element [HTTP::path] starts_with uris_datagroup].
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