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
朋友们请问这个问题要如何解决呢?方便的话烦请详细讲解。谢谢
用的是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 那部命令贴出来看看
再有就是把htpasswd -c 那部命令贴出来看看
作者: dn833 发布时间: 2011-07-27
相关阅读 更多
热门阅读
-
office 2019专业增强版最新2021版激活秘钥/序列号/激活码推荐 附激活工具
阅读:74
-
如何安装mysql8.0
阅读:31
-
Word快速设置标题样式步骤详解
阅读:28
-
20+道必知必会的Vue面试题(附答案解析)
阅读:37
-
HTML如何制作表单
阅读:22
-
百词斩可以改天数吗?当然可以,4个步骤轻松修改天数!
阅读:31
-
ET文件格式和XLS格式文件之间如何转化?
阅读:24
-
react和vue的区别及优缺点是什么
阅读:121
-
支付宝人脸识别如何关闭?
阅读:21
-
腾讯微云怎么修改照片或视频备份路径?
阅读:28