Update Apache2 sample configuration to allow disable password asking when we're on a private network

This commit is contained in:
Grégory Soutadé 2020-02-26 15:45:00 +01:00
parent 898e0b9e42
commit 8d39bd8ed0

View File

@ -8,10 +8,16 @@
AuthType Basic
AuthName "Private"
AuthUserFile /private/_pwd/user
Require valid-user
Options +FollowSymlinks
# Uncomment to remove password for internal network
# <RequireAny>
# Require ip
Require valid-user
# </RequireAny>
<Location "/users/">
Options +FollowSymlinks
Allow from all
Satisfy Any