我如何设置htpasswd
提示给所有想访问局域网(192.168.0.*)
人以外的服务器?
感谢您的答案!
像这样的东西:
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