Forum Discussion
collinz1_17223
Jul 14, 2011Nimbostratus
iRule Redirect Loop
I have setup an irule that checks the user agent string when http requests are made. If the user agent is a mobile type device (as defined in a data group) they get redirected to the mobile site. ...
Ashish_Ram_Tak1
Mar 08, 2013Nimbostratus
Dear Colin,
My scenario is below,
1) When user login to http://home.example.co.in it will check for its agent, if it is normal user pass through the request, if it is mobile user redirect the request to https://mobile.example.co.in
2) Now in web page of mobile site (https://mobile.example.co.in) user have one link IF YOU WANT TO GO MAIN SITE PLEASE CLICK HERE (http://home.example.co.in) one query string will be passed for the same i.e ismain==true and user have to redirect to http://home.example.co.in
I have applied below iRule on http://home.example.co.in VS, it's working properly for redirection, it also working for query string but only in iphone and black berry for other models like windows and android it's not working.
Could you please give me suggestion on the same.
Regards,
Ashish Takawale.
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