nextcloud/config/.htaccess

24 lines
454 B
ApacheConf
Raw Normal View History

# Section for Apache 2.4 and 2.5
<ifModule mod_authz_core.c>
Require all denied
</ifModule>
<ifModule mod_access_compat.c>
Deny from all
Satisfy All
</ifModule>
# Section for Apache 2.2
<ifModule !mod_authz_core.c>
<ifModule !mod_access_compat.c>
<ifModule mod_authz_host.c>
Deny from all
</ifModule>
Satisfy All
</ifModule>
</ifModule>
# Section for Apache 2.2 to 2.5
<ifModule mod_autoindex.c>
IndexIgnore *
</ifModule>