Created
October 14, 2023 21:29
-
-
Save devuri/2e0cb502f7e6543b084fa2afb4ad5e7f to your computer and use it in GitHub Desktop.
Apache configuration rules to control access to the .user.ini
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<Files ".user.ini"> | |
<IfModule mod_authz_core.c> | |
Require all denied | |
</IfModule> | |
<IfModule !mod_authz_core.c> | |
Order deny,allow | |
Deny from all | |
</IfModule> | |
</Files> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment