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...
Arie
Jun 18, 2014Altostratus
You can work around the limitation by moving the match indicator (wildcard vs. exact match) to the value and using a separator.
In other words,
"/g/*" := "http://192.168.201.250/Gulf/g.html"
becomes
"/g/" := "*;http://192.168.201.250/Gulf/g.html"
and
"/E1/" := "http://192.168.201.250/e.html"
becomes
"/E1/" := "=;http://192.168.201.250/e.html"
This way you can build logic into your code to handle the two scenarios. I can elaborate if necessary.
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