Art_Sholty_6751
Oct 29, 2014Nimbostratus
Simple iRule failing
I am trying to implement what I thought would be a very simple iRule but I'm unable to get it to process successfully. I am trying to issue a 302 HTTP redirect based on the presence of a specific URI:
when HTTP_REQUEST { if { [ string tolower [HTTP::uri]] contains "/httpservices/login/loginService.aspx"} { HTTP::redirect https://login.devstage1.weightwatchers.com/mobilelogin/mobile log local0. "Chassis Redirect" } }
Am I misunderstanding how the HTTP redirect function works or am I just making a syntax mistake?