Forum Discussion
mdcarson_58978
Nimbostratus
Aug 08, 2012If not a , b, or c, do 1 through 15
I have an iRule where I need to run some commands, but only if the URI does not match several cases. I can't seem to get two negative conditionals to work and I don't have the option to inv...
hoolio
Cirrostratus
Aug 08, 2012Hi,
Here's an example:
when HTTP_REQUEST {
switch -glob [HTTP::uri] {
"/a*" -
"/d*" -
"/f*" {
Do nothing
}
default {
Did not match a, d or f so do something
}
}
}
Aaron
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
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