mirror of
https://github.com/lrsjng/h5ai.git
synced 2025-08-10 16:04:11 +02:00
Merge pull request #510 from SushiDude/htaccess
Use mod_authz_core when available. Otherwise, fallback to mod_authz_host or mod_access_compat.
This commit is contained in:
@@ -1,3 +1,10 @@
|
||||
Satisfy all
|
||||
Order deny,allow
|
||||
Deny from all
|
||||
<IfModule mod_authz_core.c>
|
||||
#Apache 2.4
|
||||
Require all denied
|
||||
</IfModule>
|
||||
<IfModule !mod_authz_core.c>
|
||||
#Apache 2.2
|
||||
Satisfy all
|
||||
Order deny,allow
|
||||
Deny from all
|
||||
</IfModule>
|
||||
|
@@ -1,3 +0,0 @@
|
||||
Satisfy all
|
||||
Order deny,allow
|
||||
Deny from all
|
@@ -1,6 +1,13 @@
|
||||
Satisfy all
|
||||
Order allow,deny
|
||||
Allow from all
|
||||
<IfModule mod_authz_core.c>
|
||||
#Apache 2.4
|
||||
Require all granted
|
||||
</IfModule>
|
||||
<IfModule !mod_authz_core.c>
|
||||
#Apache 2.2
|
||||
Satisfy all
|
||||
Order allow,deny
|
||||
Allow from all
|
||||
</IfModule>
|
||||
|
||||
DirectoryIndex disabled
|
||||
|
||||
|
Reference in New Issue
Block a user