web.config 624 B

1234567891011121314151617
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <configuration>
  3. <system.webServer>
  4. <rewrite>
  5. <rules>
  6. <rule name="Staple">
  7. <match url="^(.*)$" />
  8. <conditions>
  9. <add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" />
  10. <add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" />
  11. </conditions>
  12. <action type="Rewrite" url="index.php/{R:1}" />
  13. </rule>
  14. </rules>
  15. </rewrite>
  16. </system.webServer>
  17. </configuration>