Forum Discussion
Haruto_Hashizum
Nimbostratus
Nov 01, 2017Where does this iRule end?
If client accsess the virtual server that has the iRule below with URI "/aaa/",
which is the endpoint of this iRule A or B?
I'm worried about that this rule excecute "LB::detach" .
when HTTP_REQUE...
Heinrichm_18951
Cirrus
Nov 01, 2017I would say that it ends here
when HTTP_REQUEST {
switch -glob [string tolower [HTTP::uri]] {
"*/aaa/*" {
if { [active_members Pool_aaa] > 0 } {
pool Pool_aaa
log local0. "Directing to pool_aaa"
} else {
pool Pool_sorry
log local0. "Directing to pool_sorry"
}
}Though you can always add a logging command to your code and see which statement is hit
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
