验证此IP以外的http请求
我已经在这里的Nagios上运行了对我的LDAP服务器进行身份验证的服务器(带有Apache 2.2.3-22.el5.centos的CentOS 5.3),并且一切正常。但是,我希望某些IP无需身份验证即可查看Nagios状态页面。Nagios具有此选项,可将用户分配给未认证的用户: authorized_for_read_only=guest default_user_name=guest 听起来不错,但这并不能解决Apache身份验证问题。我当前的apache配置如下所示: <Directory "/usr/lib64/nagios/cgi"> AllowOverride None Order allow,deny Allow from all AuthName "Nagios Access" AuthType Basic AuthUserFile /etc/nagios/misc/htpasswd.users Require valid-user AuthBasicProvider file ldap AuthzLDAPAuthoritative off AuthBasicAuthoritative On AuthLDAPGroupAttribute LDAPmember AuthLDAPURL (my server stuff) Require ldap-group CN=nagios,ou=groups,DC=local </Directory> 那行得通,但我想以某种方式说“这里的IP,他可以跳过身份验证”。Apache Satisfy指令看起来可以正常工作,因此我尝试了以下操作: <Directory "/usr/lib64/nagios/cgi"> AllowOverride None Order allow,deny Allow …