Forum Discussion
rdessert_76127
Jul 25, 2012Nimbostratus
When I tested this with a browser it wasn't working although it was working by running the curl command from the box itself. I ended up having to change this line as follow...
if {[class match -- [string tolower [HTTP::header value "User-Agent"]] equals mobile_class]} {
to
if {[class match -- [string tolower [HTTP::header value "User-Agent"]] contains mobile_class]} {
Had me scratching my head for a bit, but it finally clicked :-)
Rich