web.config 977 B

1234567891011121314151617181920212223
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <configuration>
  3. <system.webServer>
  4. <rewrite>
  5. <rules>
  6. <rule name="已导入的规则 1" stopProcessing="true">
  7. <match url="^(.*)$" ignoreCase="false" />
  8. <conditions logicalGrouping="MatchAll">
  9. <add input="{REQUEST_FILENAME}" matchType="IsDirectory" ignoreCase="false" negate="true" />
  10. <add input="{REQUEST_FILENAME}" matchType="IsFile" ignoreCase="false" negate="true" />
  11. </conditions>
  12. <action type="Rewrite" url="index.php/{R:1}" appendQueryString="true" />
  13. </rule>
  14. </rules>
  15. </rewrite>
  16. <httpErrors errorMode="Custom" existingResponse="Replace">
  17. <clear />
  18. <error statusCode="404" responseMode="ExecuteURL" path="/ErrorPage/404/index.html" />
  19. </httpErrors>
  20. </system.webServer>
  21. </configuration>