Forum Discussion
pmaubo2_55685
Nimbostratus
Oct 30, 2012WAP and mobile irule question
The goal is if a mobile phone with it's user_agent included in a Data Class to direct it to one site and if it isn't in the Data Class then redirect somewhere else.
I think my logic might be off...
pmaubo2_55685
Nimbostratus
Oct 30, 2012Below is the output. The 1st one shows the redirect via just a browser, the one below shows correctly that it saw the nokia keyword in the data class. For some reason I must be missing some type of end statement or event disable, tried that but no dic.
Oct 30 15:56:18 local/tmm info tmm[4899]: Rule mobile_detect_uri_irule : Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.1; Win64; x64; Trident/4.0; .NET CLR 2.0.50727; SLCC2; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; InfoPath.3; .NET4.0C; .NET4.0E; Tablet PC 2.0)
Oct 30 15:56:18 local/tmm info tmm[4899]: Rule mobile_detect_uri_irule : WAP Redirection
The below is using a nokia simulator
Oct 30 15:56:47 local/tmm info tmm[4899]: Rule mobile_detect_uri_irule : Nokia5100/2.0 Profile/MIDP-1.0 Configuration/CLDC-1.0
Oct 30 15:56:47 local/tmm info tmm[4899]: Rule mobile_detect_uri_irule : WAP Redirection
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