Forum Discussion
Will_Adams_1995
Nimbostratus
Nov 11, 2015Is iRule the correct method?
I am configuring a new policy on my F5 and I was looking to delve a little into iRules I think for part of this policy. I would like to know if an iRule would be the correct method to use? I have nev...
BinaryCanary_19
Nov 12, 2015Historic F5 Account
Do you mean that your Else statements appear not to be working?
when HTTP_REQUEST {
if {[HTTP::uri] starts_with "/prod" } {
node 10.10.10.10 1234
} elseif { [HTTP::uri] starts_with "/test" } {
node 10.10.10.10 4567
} elseif { [HTTP::uri] starts_with "/dev" } {
node 10.10.10.10 8901
} else {
node 10.10.10.10 2345
}
}
I imagine something like this is what you desire.
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