Problems with apache configuration



I see this error in all myh pages in nagios:

It appears as though you do not have permission to view information for any of the hosts you requested…
If you believe this is an error, check the HTTP server authentication requirements for accessing this CGI
and check the authorization options in your CGI configuration file.

When i install nagios i put:

useradd -m nagios
groupadd nagios

usermod -a -G nagcmd nagios
usermod -a -G nagcmd apache

tar xzf nagios-3.2.0.tar.gz
cd nagios-3.2.0
./configure --with-command-group=nagcmd --prefix=/nagios
make all && make install && make install-init && make install-config && make install-commandmode && make install-webconf

htpasswd -c /nagios/etc/htpasswd.users admin

tar xzf nagios-plugins-1.4.14.tar.gz
cd nagios-plugins-1.4.14
./configure --with-nagios-user=nagios --with-nagios-group=nagcmd --prefix=/nagios
make && make install

chcon -R -t httpd_sys_content_t /nagios/sbin/
chcon -R -t httpd_sys_content_t /nagios/share/

Where is my problem???


I include “admin” into cfi.cfg