2012-12-07 69 views

回答

0

嘗試下面的代碼

  <rule name="Canonical Host Name"> 
      <match url="(.*)" ignoreCase="true" /> 
      <conditions> 
       <add input="{HTTP_HOST}" pattern="^mydomain1\.co\.uk" /> 
      </conditions> 
      <action type="Redirect" url="http://www.mydomain10.co.uk/{R:1}" redirectType="Permanent" /> 
     </rule> 
一次