Forum Discussion
Thamer_3789
Nimbostratus
Sep 23, 2012mobile device redirection
Hi All;
i want to apply this iRule to redirect the mobile devices traffic to another web site by detecting the "user agent" header...may you check it guys !!!!
when HTTP_REQUEST { ...
nathe
Cirrocumulus
Sep 23, 2012Thamer,
From a quick glance it looks fine. My suggestion would be use "contains" rather than "equals" as to match every user-agent that way in your data group sounds like a lot of work. You could then do generic variables like "mobile" in the data group. Unless of course you want to be very specific on the user-agents. Just my two penneth..
Hope it works
N
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects
