N°5462 Add a setup check to verify if directory-level configuration files (.htaccess and web.config) are used by the server

This commit is contained in:
Stephen Abello
2022-08-24 16:33:54 +02:00
parent f923ac879f
commit 14facb4d6c
5 changed files with 40 additions and 0 deletions

View File

@@ -0,0 +1,13 @@
# Apache 2.4
<ifModule mod_authz_core.c>
Require all denied
</ifModule>
# Apache 2.2
<ifModule !mod_authz_core.c>
deny from all
Satisfy All
</ifModule>
# Apache 2.2 and 2.4
IndexIgnore *