logo大度学习日记

大度学习日记

avatar

网名:不悔

职业:php开发

现居地:河南省-新乡

Phone:15814563321

Email:wapffu@qq.com

ThinkCMF5 在IIS下部署的时候显示服务器rewrite 不支持

<?xml version="1.0" encoding="UTF-8"?>
<configuration>
  <system.webServer>
    <rewrite>
      <rules>
        <rule name="ThinkCMF" enabled="true" stopProcessing="true">
          <match url="^.*$" />
          <conditions logicalGrouping="MatchAll">
            <add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" />
            <add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" />
          </conditions>
          <action type="Rewrite" url="index.php/{R:0}" />
        </rule>
      </rules>
    </rewrite>
  </system.webServer>
</configuration>


Comments 0

5.678252s