'URL_MODEL' => 2, // URL访问模式,可选参数0、1、2、3
web.config 文件
<?xm
<configuration>
<system.webServer>
<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>
ThinkPHP版本 3.2.3
服务器环境 Microsoft-IIS/7.5
PHP环境 5.5.25/cgi-fcgi

正确路径:
http://xiaofang.3583100.com/Auth/login.html
错误路径:
http://xiaofang.3583100.com/Auth/Auth/login.html
为什么会多出个/Auth
望高手指点
最佳答案