<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<system.webServer>
<rewrite>
<rules>
<rule name="Redirect" stopProcessing="true">
<match url=".*" />
<conditions>
<add input="{HTTP_USER_AGENT}" pattern="^.*android.*$" />
</conditions>
<action type="Redirect" url="
http://m.aaaaa.com/{R:0}" redirectType="Permanent" />
</rule>
<rule name="Redirect1" stopProcessing="true">
<match url=".*" />
<conditions>
<add input="{HTTP_USER_AGENT}" pattern="^.*blackberry.*$" />
</conditions>
<action type="Redirect" url="
http://m.aaaaa.com/{R:0}" redirectType="Permanent" />
</rule>
<rule name="Redirect2" stopProcessing="true">
<match url=".*" />
<conditions>
<add input="{HTTP_USER_AGENT}" pattern="^.*googlebot-mobile.*$" />
</conditions>
<action type="Redirect" url="
http://m.aaaaa.com/{R:0}" redirectType="Permanent" />
</rule>
<rule name="Redirect3" stopProcessing="true">
<match url=".*" />
<conditions>
<add input="{HTTP_USER_AGENT}" pattern="^.*iemobile.*$" />
</conditions>
<action type="Redirect" url="
http://m.aaaaa.com/{R:0}" redirectType="Permanent" />
</rule>
<rule name="Redirect5" stopProcessing="true">
<match url=".*" />
<conditions>
<add input="{HTTP_USER_AGENT}" pattern="^.*iphone.*$" />
</conditions>
<action type="Redirect" url="
http://m.aaaaa.com/{R:0}" redirectType="Permanent" />
</rule>
<rule name="Redirect6" stopProcessing="true">
<match url=".*" />
<conditions>
<add input="{HTTP_USER_AGENT}" pattern="^.*opera mobile.*$" />
</conditions>
<action type="Redirect" url="
http://m.aaaaa.com/{R:0}" redirectType="Permanent" />
</rule>
<rule name="Redirect7" stopProcessing="true">
<match url=".*" />
<conditions>
<add input="{HTTP_USER_AGENT}" pattern="^.*palmos.*$" />
</conditions>
<action type="Redirect" url="
http://m.aaaaa.com/{R:0}" redirectType="Permanent" />
</rule>
<rule name="Redirect8" stopProcessing="true">
<match url=".*" />
<conditions>
<add input="{HTTP_USER_AGENT}" pattern="^.*symbian.*$" />
</conditions>
<action type="Redirect" url="
http://m.aaaaa.com/{R:0}" redirectType="Permanent" />
</rule>
<rule name="Redirect9" stopProcessing="true">
<match url=".*" />
<conditions>
<add input="{HTTP_USER_AGENT}" pattern="^.*webos.*$" />
</conditions>
<action type="Redirect" url="
http://m.aaaaa.com/{R:0}" redirectType="Permanent" />
</rule>
</rules>
</rewrite>
</system.webServer>
</configuration>