[CentOS] Directory index forbidden by rule: /var/www/html/

Wed Oct 10 12:56:59 UTC 2007
Jim Perrin <jperrin at gmail.com>

Umair, please stop top-posting. It screws the readability of the
messages in the archive.

On 10/9/07, umair shakil <umairshakeel at gmail.com> wrote:
> salam,
>
> Please check what is your document root???? it is /var/www/html????

Something appears to be malfunctioning with your '?' on your keyboard.

>in httpd.conf  where does your nagios folder has been placed???? is
it /var/www/html???

This doesn't have anything to do with his issue. From his email,
nagios is working fine, it's just returning that his webserver is
throwing an error. It's the webserver error he's tracking down.

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

While you don't *need* to specify the port, the example config does
this and it's beneficial to do this if you have more than one website,
with apache listening on multiple ports. Otherwise you have the
potential for one ServerName definition to override another. With
apache, it's best to be as explicit as possible.


-- 
During times of universal deceit, telling the truth becomes a revolutionary act.
George Orwell