homepage Welcome to WebmasterWorld Guest from 54.163.84.199
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Pubcon Platinum Sponsor 2014
Home / Forums Index / Code, Content, and Presentation / Apache Web Server
Forum Library, Charter, Moderators: Ocean10000 & incrediBILL & phranque

Apache Web Server Forum

    
Directory index forbidden by rule
Apache errors with virtual hosting
stopher




msg:1511921
 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 192.168.0.21] Directory index forbidden by rule: /var/www/html/tester/

 

jdMorgan




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

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.

Jim

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / Apache Web Server
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved