hsz Asked: 2010-01-30 02:07:39 +0800 CST2010-01-30 02:07:39 +0800 CST 2010-01-30 02:07:39 +0800 CST 如何为除 LAN 之外的所有人设置 htpasswd? 772 我如何htpasswd为除了局域网的人之外的每个想要访问某些服务器的人设置提示(192.168.0.*)? 感谢您的回答! apache-2.2 .htaccess htpasswd 1 个回答 Voted Best Answer atlas95 2010-01-30T02:21:45+08:002010-01-30T02:21:45+08:00 像这样: 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
像这样:
:D