While I try I got the following Error message.
You don't have permission to access /nagios/ on this server.
Apache/2.2.3 (CentOS) Server at 188.8.131.52 Port 80So I go the error log file
/var/log/httpd/error_log and I go through the log file.
You need to perform the Trouble shutting Depends upon the error message from the log file.
Error Message: [Fri Jul 16 19:53:27 2010] [error] [client 184.108.40.206] Directory index forbidden by Options directive: /var/www/html/
Solution: if you get the error message like these error message clearly says. Client try to read the index file But it can’t so create the index.html file under these document root directory.
/var/www/html touch index.hml
Then try it it will be solve.
If index file is already present like index.php But unable to read index file.
Then you need to install php
#yum install php*
Here index.php file is locate under the nagios Document Root Directory
Error Message: [Fri Jul 16 19:53:27 2010] [error] [client 220.127.116.11] Directory index forbidden by Options directive: /usr/local/nagios/share/
Solution: you need to create the index files under the nagios document root directory /usr/local/nagios/share/
/usr/local/nagios/share/ touch index.hml
Directory index forbidden by Options directive: /var/www/html/
Directory index forbidden by Options directive: /usr/local/nagios/share/