我如何htpasswd
为除 LAN 用户之外的所有人设置提示(192.168.0.*)
?
谢谢您的回答!
答案1
像这样:
Order allow,deny
AuthType Basic
AuthName "Only for administrator"
AuthUserFile /etc/apache2/passwords/admin.pwd
AuthGroupFile /dev/null
Require valid-user
Allow from 192.168.10 10.8.0 182.243.107.122 82.122.29.22
Satisfy Any
:D