mirror of
https://github.com/lrsjng/h5ai.git
synced 2025-05-31 23:38:20 -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
|
<IfModule mod_authz_core.c>
|
||||||
Order deny,allow
|
#Apache 2.4
|
||||||
Deny from all
|
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
|
<IfModule mod_authz_core.c>
|
||||||
Order allow,deny
|
#Apache 2.4
|
||||||
Allow from all
|
Require all granted
|
||||||
|
</IfModule>
|
||||||
|
<IfModule !mod_authz_core.c>
|
||||||
|
#Apache 2.2
|
||||||
|
Satisfy all
|
||||||
|
Order allow,deny
|
||||||
|
Allow from all
|
||||||
|
</IfModule>
|
||||||
|
|
||||||
DirectoryIndex disabled
|
DirectoryIndex disabled
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue