1
0

.htaccess 665 B

12345678910111213141516171819202122232425262728
  1. # SPDX-FileCopyrightText: 2017-2024 Nextcloud GmbH and Nextcloud contributors
  2. # SPDX-FileCopyrightText: 2014-2015 ownCloud, Inc.
  3. # SPDX-License-Identifier: AGPL-3.0-only
  4. # Section for Apache 2.4 to 2.6
  5. <IfModule mod_authz_core.c>
  6. Require all denied
  7. </IfModule>
  8. <IfModule mod_access_compat.c>
  9. Order Allow,Deny
  10. Deny from all
  11. Satisfy All
  12. </IfModule>
  13. # Section for Apache 2.2
  14. <IfModule !mod_authz_core.c>
  15. <IfModule !mod_access_compat.c>
  16. <IfModule mod_authz_host.c>
  17. Order Allow,Deny
  18. Deny from all
  19. </IfModule>
  20. Satisfy All
  21. </IfModule>
  22. </IfModule>
  23. # Section for Apache 2.2 to 2.6
  24. <IfModule mod_autoindex.c>
  25. IndexIgnore *
  26. </IfModule>