Forum Discussion
I don't understand [class match ... nor [class search - pls help
Hi Christian,
you may change the iRule to use...
set redirectrule "[class lookup [HTTP::uri] equals path_dg]"
If the currently requested [HTTP::uri] can be matched using the entries of your data-group "path_dg", then $redirectrule will become [set] with the data of the matching datagroup entry. If the datagroup doesn't match, then $redirectrule will be left empty (aka. "").
Note: [class lookup] is just an easy to use shortcut for [class match -value]
Note2: To support equals and starts_with datagroup querys at the same time, you have to perform two independent datagroup lookups in a row.
Cheers, Kai
Recent Discussions
Related Content
* 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