Forum Discussion
Robert_47833
Altostratus
May 12, 2011return and HTTP::redirect usage
Hi,I have a irule like this
if {$uri matches_regex "^/(help/)"}
{
HTTP::redirect ]
pool cjj1
return
}
else{
pool cjj2
}
1:don't kno...
Colin_Walker_12
May 17, 2011Historic F5 Account
There isn't a way to stop the iRule processing as a whole, really. The closest you can come is "event disable all", but that's scoped to the connection as a context. That means that if you fire an event disable (or an event disable all) you're turning off that event for all iRules on that connection, not just the iRule it was fired within.
There are some logic tricks you can play with things like an info exists at the top of every event in an iRule that will make it behave the way you want, but there isn't a specific command that exits the iRule.
Colin
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