Forum Discussion
Deon
Nimbostratus
Oct 14, 2011Multiple iRule Redirects, event disable, TCP::close
We have multiple iRules and each can do a redirect based on a condition in HTTP_REQUEST event. I added an event disable after the redirect in each iRule so that I don't have multiple redirects happen...
Michael_Yates
Nimbostratus
Oct 14, 2011Hi Deon,
As you found out the "event disable" will disable the HTTP_REQUEST Event for the duration of the connection.
What you can do is a "return" to escape the event from further processing.
http://devcentral.f5.com/wiki/iRules.return.ashx
Give it a try and see if it corrects your issue.
Hope this helps.
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