Forum Discussion
Deb_Allen_18
May 18, 2005Historic F5 Account
matchclass syntax / allowed operators
is this valid syntax for matchclass?
[matchclass $inbound_uri starts_with $::uri_redirects]
I'm trying to redirect based on a variable length leading directory in the URI string.
...
unRuleY_95363
May 18, 2005Historic F5 Account
BTW, as of 9.0.4 the following line:
set inbound_pid [getfield [findclass [substr $inbound_uri 1 /] $::uri_redirects] " " 2] can be condensed to:
set inbound_pid [findclass [substr $inbound_uri 1 /] $::uri_redirects " "] This is because the findclass command can take an optional 3rd argument that is used to split the entry and return the portion following the split string.
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
