Re: Directory index forbidden by rule: /var/www/html/

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



salam,

Please check what is your document root???? it is /var/www/html???? in httpd.conf
where does your nagios folder has been placed???? is it /var/www/html???

gust give the server name 192.168.1.10 and no need to put :80, as it is already
listening on 80.

Regards,

Umair Shakil
ETD


On 10/9/07, Rogelio Bastardo <scubacuda@xxxxxxxxx> wrote:
I'm looking to troubleshoot this error when I run "tail /etc/httpd/logs/error_log"
 
[Tue Oct 09 07:22:59 2007] [error] [client 127.0.0.1] Directory index forbidden by rule: /var/www/html/
 
(I get this when I run Nagios' "./check_http -H 127.0.0.1".)
 
All I did was install CentOS and then modify httpd.conf to include "ServerName     192.168.1.10:80" and also run " htpasswd -c /etc/nagios/htpasswd.users nagiosadmin".
 
Is this a permissions issue on my /var/www/html/ folder?
 
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).
 
Chain RH-Firewall-1-INPUT (2 references)
target     prot opt source               destination
ACCEPT     all  --  anywhere             anywhere
ACCEPT     icmp --  anywhere             anywhere            icmp any
ACCEPT     ipv6-crypt--  anywhere             anywhere
ACCEPT     ipv6-auth--  anywhere             anywhere
ACCEPT     udp  --  anywhere             224.0.0.251         udp dpt:5353
ACCEPT     udp  --  anywhere             anywhere            udp dpt:ipp
ACCEPT     all  --  anywhere             anywhere            state RELATED,ESTAB                 LISHED
ACCEPT     tcp  --  anywhere             anywhere            state NEW tcp dpt:s                 sh
ACCEPT     tcp  --  anywhere             anywhere            state NEW tcp dpt:h                 ttp
ACCEPT     tcp  --  anywhere             anywhere            state NEW tcp dpt:f                 tp
ACCEPT     tcp  --  anywhere             anywhere            state NEW tcp dpt:s                 mtp
REJECT     all  --  anywhere             anywhere            reject-with icmp-ho                 st-prohibited
 

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos


_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux