403 Forbidden [Nagios 3.2.1 && CENTOS 5.4]

Hello there…

I’m new with Linux and Nagios. This might be a common issue here, but I couldn’t find the related post to my server configuration with the CENTOS 5.4 and Nagios 3.2.1, sorry if this is just another kind of “re-post”. I really need your help here.

[code]403 Forbidden

Access is forbidden to the requested page:

[ServerIPAddress]/nagios/ (port 80)

Please forward this error screen to [ServerIPAddress]'s WebMaster.[/code]

Can someone help me with this situation? because I followed all the instruction from the quickstart installation guide from the Nagios website.

here is the configuration lines in my httpd.conf:

[code]ScriptAlias /nagios/cgi-bin /usr/local/nagios/sbin
<Directory “/usr/local/nagios/sbin”>
Options ExecCGI
AllowOverride AuthConfig
Order allow,deny
Allow from all
AuthName "Nagios Access"
AuthType Basic
AuthUserFile /usr/local/nagios/etc/htpasswd.users
Require valid-user

Alias /nagios/ /usr/local/nagios/share
<Directory “/usr/local/nagios/share”>
Options None
AllowOverride AuthConfig
Order allow,deny
Allow from all
AuthName "Nagios Access"
AuthType Basic
AuthUserFile /usr/local/nagios/etc/htpasswd.users
Require valid-user

[/code]

and in my Apache error_log shows:

[Mon Apr 26 10:50:02 2010] [error] [client 110.138.144.30] Directory index forbidden by Options directive: /usr/local/nagios/share [Mon Apr 26 10:50:02 2010] [error] [client 110.138.144.30] File does not exist: /usr/local/nagios/sharesys_cpanel, referer: http://[ServerIPAddress]/nagios/

*PS: Apache/2.2.14 & PHP 5.2.12 & gcc version 4.1.2 20080704 are installed

Thank you for your attention and for the help there.
Regards…

It would be only temporary to check whats wrong but try chmod -R 777 on your nagios directory. It should work but read about chmod and corect it.