web.config 567 B

12345678910111213141516
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <configuration>
  3. <system.webServer>
  4. <rewrite>
  5. <rules>
  6. <rule name="Deny Rule 1" patternSyntax="Wildcard" stopProcessing="true">
  7. <match url="*" />
  8. <conditions>
  9. <add input="{URL}" pattern="*" />
  10. </conditions>
  11. <action type="CustomResponse" statusCode="403" statusReason="Forbidden: Access is denied." statusDescription="You do not have permission to view this directory or page using the credentials that you supplied." />
  12. </rule>
  13. </rules>
  14. </rewrite>
  15. </system.webServer>
  16. </configuration>