q3256 发表于 2018-11-24 11:55:00

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]
查看完整版本: apache 2.4.X使用htpasswd 出现apache authentication failure passwd mismatch错误