OttimoMassimo_1
Sep 15, 2011Nimbostratus
alteration to an existing irule
Hi,
This is definitely a newbie question, so apologies in advance!
I have a context switch within an irule like so:
"/stuff/place*" {
pool my_pool
return
}
I would now like to point /stuff* to the same pool, but in the following manner:
"/stuff*" {
if { some conditions } {
HTTP::redirect "http://www.site.com/overhere/"
} else {
pool my_pool
}
My question is, can the two context switches co-exist within the same irule or will the switch for /stuff* overrule the entry for /stuff/place* ?