Operating System - Linux
1830246 Members
1801 Online
110000 Solutions
New Discussion

Re: apache httpd.conf error on error_log file

 
SOLVED
Go to solution
Tammy Liang
Regular Advisor

apache httpd.conf error on error_log file

I keep getting the error message in error_log file, after I installed httpd-20.40-8 rpm on RH 8.0.

Mon Aug 09 13:34:52 2004] [error] [client 10.102.51.200] Directory index forbidden by rule: /var/www/html/

Thanks for any help...
take easy, enjoy life
5 REPLIES 5
Steven E. Protter
Exalted Contributor
Solution

Re: apache httpd.conf error on error_log file

It would appear the client 10.102.51.200 is trying to access a page/directory that has improper permissions or is forbidden by httpd.conf

To check syntax

httpd -t

You may have a syntax error. This is pretty easy to find and fix.

You might also have a rules conflict and that will be a little more difficult to ferret out.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Tammy Liang
Regular Advisor

Re: apache httpd.conf error on error_log file

Steve, I run httpd -t and get "Syntax OK".
I think there may be conflict in httpd.conf file, andy suggestion what I should look for?

Thanks.

take easy, enjoy life
Stuart Browne
Honored Contributor

Re: apache httpd.conf error on error_log file

It would be my guess that you don't have an 'index.html' or any other of the files listed in your 'DirectoryIndex' configuration option, and you've got 'Options' stating that you can't get an index of that directory (no 'Indexes' in the Options for '/var/www/html').
One long-haired git at your service...
Steven E. Protter
Exalted Contributor

Re: apache httpd.conf error on error_log file

I'm with Stuart on that.

The type of acceptable index files are defined in httpd.conf

If they files do exist, make sure they are world readable.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Tammy Liang
Regular Advisor

Re: apache httpd.conf error on error_log file

Thanks all. I install new version of apache and it runs w/o problem. Instead of try to find the conflict in httpd.conf file.
take easy, enjoy life