url重写iis8怎么做呢 下面是我整个文件 帮我看看

浏览:2938 发布日期:2013/09/12 分类:求助交流 关键字: iis8 Url重写
<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<system.webServer>
<handlers>
<add name="PhpFastCgiModule" path="*.php" verb="*" modules="FastCgiModule" scriptProcessor="C:\WebSite\php-5.4.19\php-cgi.exe" resourceType="File" />
</handlers>
<defaultDocument>
<files>
<add value="index.php" />
</files>
</defaultDocument>

<rewrite>
<rules>
<rule name="OrgPage" stopProcessing="true">
<match url="^(.*)$" />
<conditions logicalGrouping="MatchAll">
<add input="{HTTP_HOST}" pattern="^(.*)$" />
<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>
哪里出错了呢
最佳答案
评论( 相关
后面还有条评论,点击查看>>