Merge pull request #11072 from snipe/fixes/support_apache_24

YOLO
This commit is contained in:
snipe 2022-09-12 14:26:43 -07:00 committed by GitHub
commit 9b5790b7e6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -37,6 +37,22 @@
</IfModule>
Options -Indexes
<Files "web.config">
Deny from all
</Files>
# DENY ACCESS TO IIS CONFIG FILE
# Apache 2.2+
<IfModule !authz_core_module>
<Files "web.config">
Order allow,deny
Deny from all
</Files>
</IfModule>
# Apache 2.4+
<IfModule authz_core_module>
<Files "web.config">
Require all denied
</Files>
</IfModule>