irule redirect, cause of an mobile / tablet connection

hello,

is it possible to create an irule, which redirects mobile devices to another url ?

for example: i call an URL www.test.com from a mobile device such as iphone / windows phone etc. i will be redirect to www.test123.com. otherwise i will be redirected directly to an pool ?

Thanks

yes, of course. you can check user-agent http header. the following is an example of the similar discussion.

Detecting Mobile Devices and Redirecting to different URL