put requireany inside 2.4 apache block
This commit is contained in:
parent
af8d89d205
commit
c54b3f2082
1 changed files with 3 additions and 0 deletions
|
@ -2,10 +2,13 @@ ExtendedStatus on
|
||||||
|
|
||||||
<Location /apache-status>
|
<Location /apache-status>
|
||||||
SetHandler server-status
|
SetHandler server-status
|
||||||
|
<IfModule mod_authz_core.c>
|
||||||
|
# Apache 2.4
|
||||||
<RequireAny>
|
<RequireAny>
|
||||||
Require ip 127.0.0.1
|
Require ip 127.0.0.1
|
||||||
Require ip ::1
|
Require ip ::1
|
||||||
Require host localhost
|
Require host localhost
|
||||||
Require valid-user
|
Require valid-user
|
||||||
</RequireAny>
|
</RequireAny>
|
||||||
|
</IfModule>
|
||||||
</Location>
|
</Location>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue