Sekhar
Feb 20, 2015Nimbostratus
TCL Error
HI, I am seeing the following error in our LTM logs. Please help in spotting the error in irule.
Error:
TCL error: /Common/IR_abc_Redirect - can't use non-numeric string as operand of "||" while executing "if { [string tolower [HTTP::host]] equals "www.abc.com" or "abc.com" or "a.b.c.d" } { HTTP::respond 301 Location ""
irule: when HTTP_REQUEST { if { [string tolower [HTTP::host]] equals "www.abc.com" or "abc.com" or "a.b.c.d" } { HTTP::respond 301 Location "http://wp.abc.com/" } }
Thanks,
Sekhar