Forum Discussion
Robert_47833
Jun 15, 2012Altostratus
3 irules order
hello,dear irule
I met an headache stuff recently
there is one VIP which has irule 1 ,irule 2 and irule 3 assigned to it
1:I 'd like to use some syntax in irule 1 ,if request match some pattern,it will continue to go through irule 1 ,but don't execute irule 2 and irule 3
2:if request doesn't match some pattern ,it will go to irule 2 and irule 3
thanks in advance
- hooleylistCirrostratusHi Robbie,
rule rule1 { when CLIENT_ACCEPTED { if {$some_check==1}{ set run_other_rules 1 } else { set run_other_rules 0 } } } rule rule2 { when CLIENT_ACCEPTED { if {$run_other_rules==1}{ Exit this event in this rule return } } when HTTP_REQUEST { if {$run_other_rules==1}{ Exit this event in this rule return } } } rule rule3 { when CLIENT_ACCEPTED { if {$run_other_rules==1}{ Exit this event in this rule return } } }
- Robert_47833Altostratusthanks,Aaron
- Robert_47833Altostratushello,Aaron
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