azakaria_102538
Dec 28, 2013Nimbostratus
Smartphone detection
Hi: kindly i need an IRULE that when a smartphone need to access URL www.mysite.com\AAA to redirect it to another link www.mysite.com\BBB
thanks for help
please see the IRULE
when HTTP_REQUEST { if { [string tolower [HTTP::uri]] equals "/ar/e-services" } { if { [class match -- [string tolower [HTTP::header "User-Agent"]] contains Mobile_Datagroup ] } { HTTP::respond 302 noserver Location "https://[HTTP::host]/ar/home" Connection Close } } }