Forum Discussion
Damien_Turner_1
Nimbostratus
Aug 02, 2010Redirect if your a mobile user....
Hi all, I was wondering if I could have some help!
I have been asked if it is possible to use an iRule to redirect a mobile user to a new URL.
An example would be....
user on an iPhone goes to www.m...
hoolio
Cirrostratus
Aug 03, 2010If you change equals to contains that should work. If you're on 9.4.4 or higher, you should remove the $:: prefix from the reference to the datagroup name in the iRule. You might also want to preserve the originally requested URI in the redirect using 'HTTP::redirect "http://mobile.example.co.uk[HTTP::uri]".
Aaron
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
