Teknik is a suite of services with attractive and functional interfaces. https://www.teknik.io/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

web.config 1.2KB

12345678910111213141516171819202122232425262728293031323334353637
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <configuration>
  3. <system.webServer>
  4. <security>
  5. <requestFiltering>
  6. <hiddenSegments>
  7. <add segment="config" />
  8. <add segment="core" />
  9. <add segment="lang" />
  10. <add segment="tmp" />
  11. </hiddenSegments>
  12. <fileExtensions>
  13. <add fileExtension=".tpl" allowed="false" />
  14. <add fileExtension=".twig" allowed="false" />
  15. <add fileExtension=".php4" allowed="false" />
  16. <add fileExtension=".php5" allowed="false" />
  17. <add fileExtension=".inc" allowed="false" />
  18. <add fileExtension=".in" allowed="false" />
  19. <add fileExtension=".csv" allowed="false" />
  20. <add fileExtension=".pdf" allowed="false" />
  21. <add fileExtension=".log" allowed="false" />
  22. </fileExtensions>
  23. </requestFiltering>
  24. </security>
  25. <directoryBrowse enabled="false" />
  26. <defaultDocument>
  27. <files>
  28. <remove value="index.php" />
  29. <add value="index.php" />
  30. </files>
  31. </defaultDocument>
  32. <staticContent>
  33. <remove fileExtension=".svg" />
  34. <mimeMap fileExtension=".svg" mimeType="image/svg+xml" />
  35. </staticContent>
  36. </system.webServer>
  37. </configuration>