哪位大侠帮忙看看这个配置文件是否正确?
本帖最后由 hulifox 于 2011-1-12 15:49 编辑这个iis7的伪静态的配置文件是否正确啊?我上载以后总是500错误,谢谢
<?xml version="1.0"?>
<configuration>
<system.webServer>
<httpErrors errorMode="Detailed" />
<asp scriptErrorSentToBrowser="true"/>
<rewrite>
<rules>
<rule name="goods">
<match url="^goods-(+)\.html$" />
<action type="Rewrite" url="goods.php?iid={R:1}" />
</rule>
<rule name="list">
<match url="^list-(+)\.html$" />
<action type="Rewrite" url="list.php?catid={R:1}" />
</rule>
<rule name="list1">
<match url="^list-(+)-(+)-(+)-(+)\.html$" />
<action type="Rewrite" url="list.php?catid={R:1}&sortnum={R:2}&sp={R:3}&ep={R:4}" />
</rule>
<rule name="list2">
<match url="^list-(+)-(+)-(+)-(+)-(+)\.html$" />
<action type="Rewrite" url="list.php?catid={R:1}&sortnum={R:2}&sp={R:3}&ep={R:4}&page={R:5}" />
</rule>
<rule name="list3">
<match url="^list-(+)-(+)-(+)-(+)-(.+)-(+)\.html$" />
<action type="Rewrite" url="list.php?catid={R:1}&sortnum={R:2}&sp={R:3}&ep={R:4}&sq={R:5}&page={R:6}" />
</rule>
<rule name="list4">
<match url="^list-(.+)-(+)\.html$" />
<action type="Rewrite" url="list.php?sq={R:1}&catid={R:2}" />
</rule>
</rules>
</rewrite>
</system.webServer>
</configuration>
看不懂绑定
页:
[1]