Guest User

Untitled

a guest
Jul 16th, 2018
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.52 KB | None | 0 0
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <configuration>
  3. <system.webServer>
  4. <rewrite>
  5. <rules>
  6. <rule name="Règle 1 importée" stopProcessing="true">
  7. <match url=".*" ignoreCase="false" />
  8. <conditions logicalGrouping="MatchAll">
  9. <add input="{URL}" pattern="\..+$" ignoreCase="false" />
  10. <add input="{URL}" pattern="\.html$" ignoreCase="false" negate="true" />
  11. </conditions>
  12. <action type="None" />
  13. </rule>
  14. <rule name="Règle 2 importée">
  15. <match url="^$" ignoreCase="false" />
  16. <action type="Rewrite" url="index.html" appendQueryString="true" />
  17. </rule>
  18. <rule name="Règle 3 importée">
  19. <match url="^([^.]+)$" ignoreCase="false" />
  20. <action type="Rewrite" url="{R:1}.html" appendQueryString="true" />
  21. </rule>
  22. <rule name="Règle 4 importée" stopProcessing="true">
  23. <match url="^(.*)$" ignoreCase="false" />
  24. <conditions logicalGrouping="MatchAll">
  25. <add input="{REQUEST_FILENAME}" matchType="IsFile" ignoreCase="false" negate="true" />
  26. </conditions>
  27. <action type="Rewrite" url="index.php" appendQueryString="true" />
  28. </rule>
  29. </rules>
  30. </rewrite>
  31. </system.webServer>
  32. </configuration>
Add Comment
Please, Sign In to add comment