web.config 1.2 KB

12345678910111213141516171819202122232425
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!--
  3. This file provides out-of-the-box support for Microsoft IIS 7 or higher.
  4. If you are using another webserver you can safely remove it. Do note that
  5. the Rewrite Module (http://www.iis.net/download/urlrewrite) is not (always)
  6. installed by default, but required for the proper working of the rules
  7. defined in the <rewrite> section of <system.webServer>.
  8. -->
  9. <configuration>
  10. <system.webServer>
  11. <rewrite>
  12. <rules>
  13. <rule name="Lithium Redirect" stopProcessing="true">
  14. <match url="^(.*)$" ignoreCase="false" />
  15. <conditions logicalGrouping="MatchAll">
  16. <add input="{REQUEST_FILENAME}" matchType="IsDirectory" ignoreCase="false" negate="true" />
  17. <add input="{REQUEST_FILENAME}" matchType="IsFile" ignoreCase="false" negate="true" />
  18. <add input="{REQUEST_FILENAME}" pattern="favicon.ico$" ignoreCase="false" negate="true" />
  19. </conditions>
  20. <action type="Rewrite" url="index.php?url={R:1}" appendQueryString="true" />
  21. </rule>
  22. </rules>
  23. </rewrite>
  24. </system.webServer>
  25. </configuration>