KPPW 3 在 IIS下伪静态规则
KPPW3 免费版安装教程写的都是apache,居然没win下的iis7.5的~而且安装时 还是404,为啥都是坑啊~安装后,页面都点不进去~哎 伪静态都没有 算了 自己写一个分享~web.config
<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<system.webServer>
<rewrite>
<rules>
<rule name="OrgPage" stopProcessing="true">
<match url="^(.*)[ DISCUZ_CODE_0 ]quot; />
<conditions logicalGrouping="MatchAll">
<add input="{HTTP_HOST}" pattern="^(.*)[ DISCUZ_CODE_0 ]quot; />
<add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" />
<add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" />
</conditions>
<action type="Rewrite" url="index.php/{R:1}" />
</rule>
</rules>
</rewrite>
</system.webServer>
</configuration>
页:
[1]