web.config 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <configuration>
  3. <system.webServer>
  4. <rewrite>
  5. <rules>
  6. <rule name="OrgPage" stopProcessing="true">
  7. <match url="^(.*)$" />
  8. <conditions logicalGrouping="MatchAll">
  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}" appendQueryString="true" />
  13. </rule>
  14. </rules>
  15. </rewrite>
  16. <directoryBrowse enabled="false" />
  17. <security>
  18. <requestFiltering allowDoubleEscaping="True" />
  19. </security>
  20. <defaultDocument>
  21. <files>
  22. <clear />
  23. <add value="index.php" />
  24. <add value="Default.htm" />
  25. <add value="Default.asp" />
  26. <add value="index.htm" />
  27. <add value="index.html" />
  28. <add value="iisstart.htm" />
  29. </files>
  30. </defaultDocument>
  31. </system.webServer>
  32. <system.web>
  33. <authentication mode="Windows" />
  34. <identity impersonate="false" />
  35. </system.web>
  36. </configuration>