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

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



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?

No, this is caused by the Indexes setting in your Options statement in
your httpd.conf file, or other included file for this directory
(welcome.conf). Consult your config and the apache documentation for
details. If you're serving up the standard welcome to centos page,
this is actually an error page because you have no other page to
default to. create a blank index.html page or put something there and
you won't get this.


-- 
During times of universal deceit, telling the truth becomes a revolutionary act.
George Orwell
_______________________________________________
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