Welcome to WebmasterWorld Guest from

Forum Moderators: Ocean10000 & incrediBILL & phranque

Message Too Old, No Replies

Directory index forbidden by rule

Apache errors with virtual hosting



11:11 pm on Nov 19, 2003 (gmt 0)

Hello all. So pretty much I am trying to set up name based virtual hosting with Apache under RedHat. If I edit the "Default Virtual Host" to have a hostname and IP and everything it works fine. If I try to setup any additional virtual hosts, I get the following error when trying to access it via a web browser. I am adding the IP's and hostnames in my hosts file, and restarting the network and httpd services each time, so I don't know what is going on. Help would be much appreciated. As far as I can tell the Default Virtual Host (DVH) is setup the same as my additional virtual hosts, and I can even have the DVH point to folders that won't work for additional virtual hosts. Thanks in advance.

[Wed Nov 19 14:42:34 2003] [error] [client] Directory index forbidden by rule: /var/www/html/tester/


12:01 am on Nov 20, 2003 (gmt 0)

WebmasterWorld Senior Member jdmorgan is a WebmasterWorld Top Contributor of All Time 10+ Year Member

The described behaviour is consistent with having Options -Indexes set. Check your Options settings (if any), and see Options directive [httpd.apache.org] in the Apache core documentation for more info. However, if you have no explicit Options setting, the default is Options All which should allow directory indexes to be viewed.



Featured Threads

Hot Threads This Week

Hot Threads This Month