Update Apache2 sample configuration to allow disable password asking when we're on a private network
This commit is contained in:
parent
898e0b9e42
commit
8d39bd8ed0
|
@ -8,10 +8,16 @@
|
|||
AuthType Basic
|
||||
AuthName "Private"
|
||||
AuthUserFile /private/_pwd/user
|
||||
Options +FollowSymlinks
|
||||
# Uncomment to remove password for internal network
|
||||
# <RequireAny>
|
||||
# Require ip 192.168.0.0/24
|
||||
Require valid-user
|
||||
# </RequireAny>
|
||||
</Location>
|
||||
|
||||
<Location "/users/">
|
||||
Options +FollowSymlinks
|
||||
Allow from all
|
||||
Satisfy Any
|
||||
</Location>
|
||||
|
|
Loading…
Reference in New Issue
Block a user