Robert_47833
Apr 16, 2012Altostratus
something interesting in if {if } else
irule
if {($uri matches "/cjj" or $uri matches "/cjj/") } {
if { [HTTP::host] ends_with ".co.uk" } {
HTTP::redirect "http://[HTTP::host]/error.html"
return
}
}
else {
pool xxxx
}
http://www.ss.com/cjj doesn't hit pool xxxx,why?
this url doesn't match ".co.uk",why irule doesn't pass it to else?