Forum Discussion
sally_calvert_8
Nimbostratus
Nov 25, 2014irule execution sequence
I have two tests to perform. If the first rule is enacted, I don't want the second one to happen - how do I order the rules or combine them to make sure they both don't apply to the same request?...
sally_calvert_8
Nimbostratus
Nov 25, 2014oh wait - will this one do what I want above?
b rule portal-8080-redirect '{ when HTTP_REQUEST { if { [HTTP::host] eq "portal..us" } { pool portal-8080-only } else { when HTTP_REQUEST { HTTP::redirect https://[HTTP::header host][HTTP::uri]} } } }'
shaggy
Nimbostratus
Nov 25, 2014remove the second "when HTTP_REQUEST", and i think it will do what you are looking for
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