XML   23

web config

Guest on 25th August 2022 04:36:00 AM

  1. <configuration>
  2. <system.webServer>
  3. <rewrite>
  4. <rules>
  5. <rule name="SiteBuilder_Rule1" stopProcessing="true">
  6. <match url="^((?:gallery|gallery_gen|img|css|js)\/.*|sitemap\.xml)$"/>
  7. <conditions>
  8. <add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true"/>
  9. <add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true"/>
  10. </conditions>
  11. <action type="Rewrite" url="sitepro/{R:1}"/>
  12. </rule>
  13. <rule name="SiteBuilder_Rule2" stopProcessing="true">
  14. <match url="(.*)"/>
  15. <conditions>
  16. <add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true"/>
  17. <add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true"/>
  18. </conditions>
  19. <action type="Rewrite" url="sitepro/?route={R:1}"/>
  20. </rule>
  21. </rules>
  22. </rewrite>
  23. <defaultDocument enabled="true">
  24. <files>
  25. <clear/>
  26. <add value="index.php"/>
  27. <add value="index.html"/>
  28. </files>
  29. </defaultDocument>
  30. </system.webServer>
  31. </configuration>

Raw Paste


Login or Register to edit or fork this paste. It's free.