Last active
May 17, 2017 07:51
-
-
Save BugBuster1701/5216541 to your computer and use it in GitHub Desktop.
Apache 2.4 htaccess
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
#Zugriff verbieten | |
<IfModule !mod_authz_core.c> | |
Order deny,allow | |
Deny from all | |
</IfModule> | |
<IfModule mod_authz_core.c> | |
Require all denied | |
</IfModule> | |
#Zugriff erlauben | |
<IfModule !mod_authz_core.c> | |
Order allow,deny | |
Allow from all | |
</IfModule> | |
<IfModule mod_authz_core.c> | |
Require all granted | |
</IfModule> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
In Apache 2.4 wird dies alter Syntax zwar noch per Zusatzmodul unterstützt, gilt aber als veraltet. Hier wird sie von dem Modul mod_access_compat bereitgestellt.