Forum Discussion
Robberhines_120
Nimbostratus
Jul 14, 2016Have Passive monitor iRule skipped if url contains
We are trying to setup a passive iRule that will mark a load balanced member down if it gets a number of errors from the server. I found an example of one and it seems to work OK however our develope...
VernonWells
Employee
Jul 14, 2016You could, at the top of HTTP_RESPONSE, do the following:
when HTTP_RESPONSE {
if { [HTTP::path] starts_with "/services/" } {
return
}
... all of your code here ...
}
Alternatively, you could wrap all of your code in a negating if:
when HTTP_RESPONSE {
if { not ([HTTP::path] starts_with "/services/") } {
... all of your code in here ...
}
}
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