Mike_Blue_30573
Feb 04, 2005Nimbostratus
IRule V4.x to 9.x conversion problem
I have tried over and over to convert this rule to V9. I get an
error saying that "Wrong of args". I am no irules expert obviusly.
I have been trying to walk through the TCL and Irule supplement pdf
but I am still messing something up.
Any help would be greatly appreciated.
if (domain(http_host, 3) == "stage.test.com") {
use pool test_http
}
else {
if (domain(http_host, 3) == "stage1.test.com") {
use pool test_svra
}
else {
if (domain(http_host, 3) == "stage2.test.com") {
use pool test_svrb
}
else {
discard
}
}
}
Thanks
Freakingenius "ok maybe not with irules".