Support Apache 2.4 directives in htaccess file (#530)

Co-authored-by: Nicola Asuni <nicolaasuni@users.noreply.github.com>
This commit is contained in:
SonOfHarris 2022-08-12 16:44:00 +09:30 committed by GitHub
parent b5cbcc255c
commit e42b70cb79
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1 +1,10 @@
deny from all
# Apache 2.4
<IfModule mod_authz_core.c>
Require all denied
</IfModule>
# Apache 2.2
<IfModule !mod_authz_core.c>
Order Deny,Allow
Deny from all
</IfModule>