mirror of
https://github.com/lrsjng/h5ai.git
synced 2025-05-27 21:44:22 -04: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:
commit
882abd1972
3 changed files with 20 additions and 9 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue