[thelist] apache config on windows - virtual doms

Daniel J. Cody djc at starkmedia.com
Wed May 23 09:28:57 CDT 2001

Hey Peter - 

Sounds like you don't have directory indexes turned on for those virtual
users. No prob though :)

Lets say you have all your users in d:/apache/users/user1/html_root
d:/apache/users/user2/html_root and so on. You'll need to enable the
Indexes option for all those directories. Luckily, apache gives you a
nice way to do this:

<Directory d:/apache/users/*/html_root> 
    AllowOverride All
    Options Indexes
(I have no idea if the win32 apache needs the drive letter up there,

in your httpd.conf file will allow for Indexes for
d:/apache/users/*/html_root .. this could also be done on a directory by
directory basis too with the use of an .htaccess file in each of those
directories, with something similar to that above as the contents of the

Hope that helps out, shout if you have any more questions :)


Peter Van Dijck wrote:
> Hi all,
> I have Apache set up running happily on Windows NT, and I'm setting up
> virtual domains. They work ok, but any directory that doesn't have and
> index file in it gives a FORBIDDEN server error. Some of those dirs just
> have a htaccess file in them with some apache rewrite stuff, that was
> working before I used the virtual domains. Others were working as well,
> showing a list of files, but now they give the error.
> I'm not very experienced (at all) with Apache, any hints/ideas?? Thanks!
> Peter

More information about the thelist mailing list