暂无描述

web.config 914B

123456789101112131415161718192021222324
  1. <configuration>
  2. <system.webServer>
  3. <rewrite>
  4. <rules>
  5. <rule name="Imported Rule 1" stopProcessing="true">
  6. <match url="^(.*)/$" ignoreCase="false" />
  7. <conditions>
  8. <add input="{REQUEST_FILENAME}" matchType="IsDirectory" ignoreCase="false" negate="true" />
  9. </conditions>
  10. <action type="Redirect" redirectType="Permanent" url="/{R:1}" />
  11. </rule>
  12. <rule name="Imported Rule 2" stopProcessing="true">
  13. <match url="^" ignoreCase="false" />
  14. <conditions>
  15. <add input="{REQUEST_FILENAME}" matchType="IsDirectory" ignoreCase="false" negate="true" />
  16. <add input="{REQUEST_FILENAME}" matchType="IsFile" ignoreCase="false" negate="true" />
  17. </conditions>
  18. <action type="Rewrite" url="index.php" />
  19. </rule>
  20. </rules>
  21. </rewrite>
  22. </system.webServer>
  23. </configuration>