Forum Discussion
Mukund_125243
Nimbostratus
Oct 02, 2013HTTP_request and HTTP_response in same irule?
Is it allowed to execute a single irule with a 'when HTTP_Request' and also a 'when HTTP_response' events? I believe in the situation I wish to implement, I can write 2 separate Irules and stack them...
Kevin_Stewart
Employee
Oct 02, 2013It is absolutely possible, and perhaps desirable, to put all of your events into a single iRule.
when CLIENT_ACCEPTED {
...
}
when HTTP_REQUEST {
...
}
when HTTP_RESPONSE {
...
}
when LB_SELECTED {
...
}
It's also worth noting that the order of the events in the iRule is not important.
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