Forum Discussion
TJ_Vreugdenhil
Sep 15, 2011Cirrus
Combine two iRules
Hi - I am trying to combine two iRules on 9.x.
I believe a switch -glob statement would be appropriate, but not sure how do it with two different HTTP::'operators.'
when HTT...
TJ_Vreugdenhil
Sep 15, 2011Cirrus
Sorry for the confusion guys. Let me update some words so that it doesn't supersede itself.
Brain - I have always wanted some explanation to '&&'. This is an 'or' statement correct, not an 'and' statement, correct?
I'm looking for an 'OR'
when HTTP_REQUEST {
if { ([HTTP::host] equals "nice") && (!([HTTP::uri] equals "/niku/app")) } {
HTTP::redirect "https://nice.testmarketing.com[HTTP::uri]"
}
}
Thanks!
-TJ
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