Forum Discussion

Sayan_81841's avatar
Sayan_81841
Icon for Nimbostratus rankNimbostratus
Feb 24, 2011

Switch statement not working

Hi, I wrote an iRule and the content is given below. But this is not working as expected.       when HTTP_REQUEST {   if { [HTTP::host] starts_with "abc.com" } {   set var1 "/abc/x...