salam,<br><br>Please check what is your document root???? it is /var/www/html???? in httpd.conf<br>where does your nagios folder has been placed???? is it /var/www/html???<br><br>gust give the server name <a href="http://192.168.1.10">
192.168.1.10</a> and no need to put :80, as it is already<br>listening on 80.<br><br>Regards,<br><br>Umair Shakil<br>ETD<br><br><br><div><span class="gmail_quote">On 10/9/07, <b class="gmail_sendername">Rogelio Bastardo</b>
<<a href="mailto:scubacuda@gmail.com">scubacuda@gmail.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div>I'm looking to troubleshoot this error when I run "tail /etc/httpd/logs/error_log"
</div>
<div> </div>
<div>[Tue Oct 09 07:22:59 2007] [error] [client <a href="http://127.0.0.1" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">127.0.0.1</a>] Directory index forbidden by rule: /var/www/html/</div>
<div> </div>
<div>(I get this when I run Nagios' "./check_http -H <a href="http://127.0.0.1" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">127.0.0.1</a>".)<br> </div>
<div>All I did was install CentOS and then modify httpd.conf to include "ServerName <a href="http://192.168.1.10:80" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">192.168.1.10:80</a>" and also run " htpasswd -c /etc/nagios/htpasswd.users nagiosadmin".
</div>
<div> </div>
<div>Is this a permissions issue on my /var/www/html/ folder? </div>
<div> </div>
<div>I tried to get the Apache page to serve properly, and it's not doing that. And when I try from another computer, I don't see anything in the logs, which made me think it was an IPTABLES issue (which it doesn't appear to be).
</div>
<div> </div>
<div>Chain RH-Firewall-1-INPUT (2 references)<br>target prot opt source destination<br>ACCEPT all -- anywhere anywhere<br>ACCEPT icmp -- anywhere anywhere icmp any
<br>ACCEPT ipv6-crypt-- anywhere anywhere<br>ACCEPT ipv6-auth-- anywhere anywhere<br>ACCEPT udp -- anywhere <a href="http://224.0.0.251" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
224.0.0.251</a> udp dpt:5353
<br>ACCEPT udp -- anywhere anywhere udp dpt:ipp<br>ACCEPT all -- anywhere anywhere state RELATED,ESTAB LISHED<br>ACCEPT tcp -- anywhere anywhere state NEW tcp dpt:s sh
<br>ACCEPT tcp -- anywhere anywhere state NEW tcp dpt:h ttp<br>ACCEPT tcp -- anywhere anywhere state NEW tcp dpt:f tp<br>ACCEPT tcp -- anywhere anywhere state NEW tcp dpt:s mtp
<br>REJECT all -- anywhere anywhere reject-with icmp-ho st-prohibited<br> </div>
<br>_______________________________________________<br>CentOS mailing list<br><a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:CentOS@centos.org">CentOS@centos.org</a><br><a onclick="return top.js.OpenExtLink(window,event,this)" href="http://lists.centos.org/mailman/listinfo/centos" target="_blank">
http://lists.centos.org/mailman/listinfo/centos</a><br><br></blockquote></div><br>