Forum Discussion
Deon
Oct 14, 2011Nimbostratus
Multiple 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
Oct 14, 2011Nimbostratus
Hi 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.
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