禁止访问 nagios

禁止访问 nagios

连接到 Nagios 后出现 403 错误。我使用 ldap 身份验证,这部分工作正常,但当我登录时,总是出现 403 禁止访问。

nagios apache 配置:

# SAMPLE CONFIG SNIPPETS FOR APACHE WEB SERVER
# Last Modified: 11-26-2005
#
# This file contains examples of entries that need
# to be incorporated into your Apache web server
# configuration file.  Customize the paths, etc. as
# needed to fit your system.

ScriptAlias /nagios/cgi-bin "/usr/local/nagios/sbin"

<Directory "/usr/local/nagios/sbin">
#  SSLRequireSSL
   Options ExecCGI
   AllowOverride None
   Order allow,deny
   Allow from all
#  Order deny,allow
#  Deny from all
#  Allow from 127.0.0.1
   AuthBasicProvider ldap
   AuthzLDAPAuthoritative off
   AuthLDAPURL ldap://10.1.1.220:389/OU=UsersVDB,DC=vdb,DC=local?sAMAccountName?sub?(memberOf=*******)
   AuthLDAPBindDN cn=******
   AuthLDAPBindPassword ********
   AuthType Basic
   AuthName "Nagios Access LDAP"
   Require valid-user
</Directory>

Alias /nagios "/usr/local/nagios/share"

<Directory "/usr/local/nagios/share">
#  SSLRequireSSL
   Options None
   AllowOverride None
   Order allow,deny
   Allow from all
#  Order deny,allow
#  Deny from all
#  Allow from 127.0.0.1
   AuthBasicProvider ldap
   AuthzLDAPAuthoritative off
   AuthLDAPURL ldap://10.1.1.220:389/OU=UsersVDB,DC=vdb,DC=local?sAMAccountName?sub?(memberOf=C*********)
   AuthLDAPBindDN cn=************
   AuthLDAPBindPassword *********
   AuthType Basic
   AuthName "Nagios Access LDAP"
   Require valid-user
</Directory>

在我的httpd.conf中,有:

ErrorLog logs/error_log

不知道为什么,但访问我的错误日志时无法输出信息...

[Wed Apr 27 09:30:04 2016] [debug] proxy_util.c(1929): proxy: worker proxy:reverse already initialized
[Wed Apr 27 09:30:04 2016] [debug] proxy_util.c(2025): proxy: initialized single connection worker 0 in child 16583 for (*)




*Was the blank i've put to separe the nagios log and the other*

我能做些什么 ?

相关内容