bwilliam
Jun 14, 2017Cirrus
irule help
I am trying to create the below rule. When I apply it I get the below error. Any help will be appreciated.
error: [parse error: PARSE syntax 55 {syntax error in expression "[HTTP::host]] equals "w...
Initial look: there's an extra ']' at the end of your first HTTP::host entries. Also an extra '{' in front of 'string tolower'.
when HTTP_REQUEST {
if {[HTTP::host] equals "loanviewbeta.qa.berkadia.com" and [string tolower [HTTP::uri]] contains "/mobile/"} {
HTTP::redirect "https://[HTTP::host]"
}
}