Advertisement
Guest User

Untitled

a guest
Oct 25th, 2016
89
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.62 KB | None | 0 0
  1. <configuration>
  2. <system.webServer>
  3. <rewrite>
  4. <rules>
  5. <rule name="Imported Rule 1" stopProcessing="true">
  6. <match url="^(.*)/$" ignoreCase="false" />
  7. <conditions>
  8. <add input="{REQUEST_FILENAME}" matchType="IsDirectory" ignoreCase="false" negate="true" />
  9. </conditions>
  10. <action type="Redirect" redirectType="Permanent" url="/{R:1}" />
  11. </rule>
  12. <rule name="Imported Rule 2" stopProcessing="true">
  13. <match url="^" ignoreCase="false" />
  14. <conditions>
  15. <add input="{REQUEST_FILENAME}" matchType="IsDirectory" ignoreCase="false" negate="true" />
  16. <add input="{REQUEST_FILENAME}" matchType="IsFile" ignoreCase="false" negate="true" />
  17. </conditions>
  18. <action type="Rewrite" url="index.php" />
  19. </rule>
  20. </rules>
  21. </rewrite>
  22. <urlCompression doDynamicCompression="false" />
  23. <handlers>
  24. <add name="PHP-FastCGI5.6" path="*.php" verb="*" modules="FastCgiModule" scriptProcessor="C:\php5.6\php-cgi.exe" resourceType="File" />
  25. </handlers>
  26. <defaultDocument enabled="true">
  27. <files>
  28. <add value="index.php" />
  29. <add value="index.htm" />
  30. <add value="index.html" />
  31. <add value="index.asp" />
  32. <add value="default.asp" />
  33. <add value="index.aspx" />
  34. <add value="default.aspx" />
  35. </files>
  36. </defaultDocument>
  37. </system.webServer>
  38. <system.web>
  39. <identity password="minas189" userName="mgminas" />
  40. </system.web>
  41. </configuration>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement