文档中心
在這,您可以查看到我司的全部新闻以及帮助文档。
Windows 2008,Windows2012伪静态规则Web.Config示范
发布时间:2014/3/2 17:29:21

<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<system.webServer>
<rewrite>
<rules>
<rule name="rule1" stopProcessing="true">
<match url="^help/c361([0-9]+).html" />
<action type="Rewrite" url="/style/info/shownews.asp?id={R:1}" />
</rule>
<rule name="rule2" stopProcessing="true">
<match url="^help/c361list([0-9]+).html" />
<action type="Rewrite" url="/style/info/listnews.asp?type2={R:1}" />
</rule>
<rule name="rule3" stopProcessing="true">
<match url="^help/list([0-9]+).html" />
<action type="Rewrite" url="/style/info/listnews.asp?type1={R:1}" />
</rule>
<rule name="rule4" stopProcessing="true">
<match url="^help" />
<action type="Rewrite" url="/style/info/listnews.asp" />
</rule>
<rule name="rule5" stopProcessing="true">
<match url="^hostorder/([0-9]+).html" />
<action type="Rewrite" url="/user/selfhost.asp?id={R:1}" />
</rule>
<rule name="rule6" stopProcessing="true">
<match url="^t/([0-9]+)" />
<action type="Rewrite" url="/t.asp?uid={R:1}" />
</rule>
<rule name="rule7" stopProcessing="true">
<match url="^web/web([0-9]+).html" />
<action type="Rewrite" url="/web/website-Detail.asp?id={R:1}" />
</rule>
<rule name="rule8" stopProcessing="true">
<match url="^site1/([0-9]+)" />
<action type="Rewrite" url="/web/?stype=1&amp;typeid={R:1}" />
</rule>
<rule name="rule9" stopProcessing="true">
<match url="^site2/([0-9]+)" />
<action type="Rewrite" url="/web/?stype=2&amp;typeid={R:1}" />
</rule>
<rule name="rule10" stopProcessing="true">
<match url="^page/([0-9]+)" />
<action type="Rewrite" url="/web/website-Detail.asp?id={R:1}" />
</rule>
</rules>
</rewrite>
</system.webServer>
</configuration>

QQ客服:
客服:
客服:
客服:
客服:
客服:
客服:
客服:
咨询电话:
18600660491