Virtual host setup, no permission to access problem

Hi, I have installed apache2.2 on windows vista.

My httpd-vhosts.conf file has;
Code:
(the DocumentRoot ... above is not of the htdocs/ from the actual apache installation folder which is in my case inside "c:/program files/apache software foundation/...". I have symbolic links for apache's conf/ and htdocs/ dirs in c:/apache_second. Read a tutorial that it is easier this way as it avoids the permission dialog boxes vista keeps popping up whenever you edit files insides some dirs such as c:/program files. )

Code:
---

and I have these in my httpd.conf;

Code:
---

and I have these in my c:\windows\system32\drivers\etc\hosts file;

Code:
---

I am able to run files that's inside this symbolic folder "C:/apache_second/htdocs" with the virtual http://default.localhost/... but

1) When I try to access the site with http://bfe.localhost it gives a "You don't have permission to access / on this server." error.

2) Also I don't get the directory listing ( with the working http://localhost or http://default.localhost ) even though I have
Options +Indexes in the <Directory> directive and have commented out the DirectoryIndex stuff in httpd.conf .

Any idea what could be wrong?.
Comments
Advertisements
Zimbio Entertainment
Copyright © 2012 - Zimbio, Inc. Some rights reserved. Coming soon: Livingly
Share
. . .
Follow
. . .