apache 2.4.X使用htpasswd 出现apache authentication failure passwd mismatch错误
在使用密码访问网站时,如下设置#AllowOverride AuthConfig
#Order allow,deny
#Allow from all
AuthType Basic
AuthName Restricted
AuthUserFile "/usr/local/nagios/etc/htpasswd"
Require valid-user
对于apche2.4以上版本我们要使用 htpasswd -cb /usr/local/nagios/etc/htpasswd user password
页:
[1]