Yes, you can do this using the URL rewrite module (I use v2 .. but it should also work with v1.x, although v1.x does not exist for testing)
<system.webServer> <rewrite> <rules> <rule name="UserAgentRedirect" stopProcessing="true"> <match url="^(.*)$" /> <conditions> <add input="{HTTP_USER_AGENT}" pattern="(iphone|ipod)" /> </conditions> <action type="Rewrite" url="/special-page.aspx" /> </rule> </rules> </rewrite> </system.webServer>
With the rule above, ALL requests from the iPhone or iPad (or any other browser / application that has an iphone or ipod in the user agent string) will be rewritten (internal redirection) to /special-page.aspx .
source share