Michael_108908
Jul 12, 2007Historic F5 Account
iRULE genetating an error in ltm log
One of my customers created this iRule:
when HTTP_REQUEST {
if{[[HTTP::header User-Agent] contains "BlackBerry8100"]}
pool BB_Test_Pool
elseif{[[HTTP::header User-Agent] contains "BlackBerry7250"]}
pool BB_TEST_POOL1
}
and it generates the following error:
TCL error: Rule WAP_iRULE HTTP_REQUEST - invalid command name BlackBerry8100/4.2.1 Profile/MIDP-2.0 Configuration/CLDC-1.1 VendorID/149contains while executing [HTTP::header User-Agent]contains BlackBerry8100
According to the iRule editor the rule is syntactically correct. This is my first iRule case and I am a little lost. Can someone please help?