Forum Discussion
Oct 03, 2013
virtual-server with multiple irules : conditions of invocation
virtual-server-1
default pool-1
irule-1.conf
priority 100
for url A , conditional logic does to this line :
pool pool-2
irule-2.conf
priority 110
for url A , conditional logic goes to this li...
uni
Altocumulus
Oct 03, 2013Pool starts out as the default pool-1. Priority 100 rule gets executed, pool gets set to pool-2 Priority 110 rule gets executed, pool gets set to pool-3 Rule processing ends. Pool remains as pool-3.
If you want it to stop rule processing in irule-1, add "event disable HTTP_REQUEST" (or just "event disable", as the current event is the default).
If you do something like this, you should consider adding "event enable HTTP_REQUEST" in the HTTP_RESPONSE event, so subsequent HTTP requests on the same connection will get passed to the rules' events.
- Oct 04, 2013Thanks uni. On the topic of request on the same connection : does CLIENT_ACCEPTED get processed once per connection ? or once per request ?
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