Forum Discussion
What_Lies_Bene1
Oct 29, 2012Cirrostratus
pmaubo2 I'd recommend you do a packet capture and inspect the User-Agent for each device and then use something like what I've put below. Just remember that User-Agent values may change between iOS and Android versions. I'm sure a quick Google would help with that.
when HTTP_REQUEST {
if { [class match [string tolower [HTTP::header User-Agent]] contains XXXX ] } {
HTTP::redirect "http://onesite.com"
return
}
elseif { [class match [string tolower [HTTP::header User-Agent]] contains XXXX ] } {
HTTP::redirect "http://anothersite.com"
}
}