Forum Discussion
Damien_Turner_1
Aug 04, 2010Nimbostratus
Hi Aaron, I missed that one too!
Now looks like this...
when HTTP_REQUEST {
if {[matchclass [HTTP::header "User-Agent" ] contains $::MobileUserAgents] } {
HTTP::redirect "http://m.holidayextras.co.uk[HTTP::uri]"
log local0. "iPhone Found"
}
Uncomment the line below to turn on logging.
log local0. "Mobile Redirected: [HTTP::header "User-Agent"] -Phone Redirected"
}
But its not picking up my iphone, could I have the information in the dataclass wrong?