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>