Forum Discussion
dyobbs_25515
Jul 22, 2015Nimbostratus
iRule to match 2 or more strings in the URI?
I have this requirement to match 2 uris in the same request. i have this iRule:
when HTTP_REQUEST { switch -glob [HTTP::host][HTTP::uri] { "/upload" - " images " { pool SERVER1 } } }
The iR...
dyobbs_25515
Jul 22, 2015Nimbostratus
Thanks Kevin, any chance that we can use the "switch command", the strings that i need to match are about a hundred :)
I’m wondering if there’s a change in the “ – “ syntax to check match both strings, as this works as an OR, what can we use to make it AND statement?
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