文章详情

  • 游戏榜单
  • 软件榜单
关闭导航
热搜榜
热门下载
热门标签
php爱好者> php文档>IIS6 IIS7使用web.config进行301重定向

IIS6 IIS7使用web.config进行301重定向

时间:2010-12-22  来源:黄兆张's Blog

<rules>
<rule name="blog301" stopProcessing="true">
<match url="^(.*)$" ignoreCase="false" />
<conditions logicalGrouping="MatchAll">
<add input="{HTTP_HOST}" pattern="^shionco.com$" />
</conditions>
<action type="Redirect" url="http://www.shionco.com/{R:1}" redirectType="Permanent" />
</rule>
</rules>

 

<rule name="WWW 301Redirect" stopProcessing="true">
    <match url=".*" />
    <conditions>
      <add input="{HTTP_HOST}" pattern="^wecanwecan.com$" />
    </conditions>
    <action type="Redirect" url="http://www.wecanwecan.com/{R:0}"
        redirectType="Permanent" />
  </rule>

相关阅读 更多 +
排行榜 更多 +
Titanite

Titanite

飞行射击 下载
果冻冲冲冲最新版

果冻冲冲冲最新版

休闲益智 下载
怪物卡车跳跃

怪物卡车跳跃

休闲益智 下载