Advertisements
HTTP WARNING: HTTP/1.1 403 Forbidden
This is because there is no index.html file on the document root of Apache.
#cd /var/www/html (if you installed using yum)
#touch index.html
if you want you can write something in it
#echo "Nagios Server" >> /var/www/html/index.html
Now restart the services
#service httpd restart
#service nagios restart
it must be solved within minutes.
Another reason maybe because the php package isn't installed. This was my issue.
ReplyDeleteThe /var/www/html/index.html will show up under http://nagiosip/
but I was getting forbidden on the http://nagiosip/nagios/ page.
yum install php did the trick.
Plus you'll need:
yum -y install gd
yum -y install gd-devel --nogpgcheck