Add "Order" to assure that no parental "Allow" can grant access

Signed-off-by: MichaIng <micha@dietpi.com>
This commit is contained in:
MichaIng 2019-09-26 12:37:07 +02:00 committed by GitHub
parent 2411455088
commit 592eecdb7d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -3,6 +3,7 @@
Require all denied Require all denied
</IfModule> </IfModule>
<IfModule mod_access_compat.c> <IfModule mod_access_compat.c>
Order Allow,Deny
Deny from all Deny from all
Satisfy All Satisfy All
</IfModule> </IfModule>
@ -11,6 +12,7 @@
<IfModule !mod_authz_core.c> <IfModule !mod_authz_core.c>
<IfModule !mod_access_compat.c> <IfModule !mod_access_compat.c>
<IfModule mod_authz_host.c> <IfModule mod_authz_host.c>
Order Allow,Deny
Deny from all Deny from all
</IfModule> </IfModule>
Satisfy All Satisfy All