Forum Discussion
f5_rocks
Nimbostratus
May 06, 2016I'm trying to write an irule with multiple not scripts in it
I'm trying to write an irule with multiple not scripts in it
Yann_Desmarest_
Nacreous
May 06, 2016Hello,
The code posted below is not well understandable. But I think that you should prefer the switch command instead of if elseif else.
Here is a link that explain how to use switch : https://devcentral.f5.com/questions/how-to-use-an-irule-switch-to-match-httphost-and-httpuri
f5_rocks
Nimbostratus
May 09, 2016Yes. Thank you. I reposted as another question using proper formatting and got an answer on how to write the script using "if {not (a or b)}" or "if {not (a) and not (b)}. I was misunderstanding the correct usage and result of "or".
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