sally_calvert_8
Nov 25, 2014Nimbostratus
irule execution sequence
I have two tests to perform. If the first rule is enacted, I don't want the second one to happen - how do I order the rules or combine them to make sure they both don't apply to the same request?
rule portal-8080 {
when HTTP_REQUEST {
if { [HTTP::host] eq "portal.com" } {
pool portal.8080-only
} else {
pool poolb
}
rule http2https
when HTTP_REQUEST { HTTP::redirect https://[HTTP::header host][HTTP::uri]}
}
}
virtual hpssopro_80 {
destination 10.10.10.15:http
rules portal-8080 http2https