Forum Discussion
jato_40959
Nimbostratus
Dec 23, 2009Irule WAP
Hello all,
I know this is a simple question but I'm new to F5 and need to get this done relatively quickly.
How can I make this redirect?
from http://www.mydomain.com
with user agent *MIDP*" and "*CLDC*"
to http://wap.mydomain.com
Thanx and regards
- The_Bhattman
Nimbostratus
Hi Jato,when HTTP_REQUEST { if { [HTTP::host] eq "www.mydomain.com" } { switch -glob [string tolower [HTTP::header User-Agent]] { "*mipd*" - "*cldc*" { HTTP::redirect "http://wap.mydomain.com" } } } }
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