+ -
当前位置:首页 → 问答吧 → Apache 与 Nagios 用户验证失败

Apache 与 Nagios 用户验证失败

时间:2011-07-27

来源:互联网

朋友们好,最近在搭建Nagios,目前遇到了个问题,在Apache里面创建了一个登录页面时http验证的用户与密码

用的是htpasswd创建的,在htpasswd.users里面也有该用户(/usr/local/nagios/etc/)下,我现在通过
http://ip/nagios 访问时,输入用户与密码,还是被拒绝访问。

还是提示
Authorization Required
This server could not verify that you are authorized to access the document requested. Either you supplied the wrong credentials (e.g., bad password), or your browser doesn't understand how to supply the credentials required.

--------------------------------------------------------------------------------
Apache/2.2.3 (CentOS) Server at 192.168.62.115 Port 80


朋友们请问这个问题要如何解决呢?方便的话烦请详细讲解。谢谢

作者: 飞翔的猴子   发布时间: 2011-07-27

得确保登录用户有访问你设定的目录的权限

作者: twenty_four   发布时间: 2011-07-27

我看是lz你的httpd.conf文件配置的不对

再有就是把htpasswd -c 那部命令贴出来看看

作者: dn833   发布时间: 2011-07-27

相关阅读 更多

热门下载

更多