self-hosting/roles/nextcloud-docker/files/nextcloud/config/.htaccess
2017-12-31 14:03:28 +01:00

15 lines
265 B
ApacheConf
Executable file

# line below if for Apache 2.4
<ifModule mod_authz_core.c>
Require all denied
</ifModule>
# line below if for Apache 2.2
<ifModule !mod_authz_core.c>
deny from all
</ifModule>
# section for Apache 2.2 and 2.4
<ifModule mod_autoindex.c>
IndexIgnore *
</ifModule>