Question : Configuring Apache web Server for multiple domains

I have tried a few web tutorials online but I cant get the Virtual Hosts setup properly. Every time I try to connect to my website it gives me: "You don't have permission to access / on this server." I have atached the Virtual Hosts configuration from the httpd-vhosts file and removed the domain name for privacy but you can assume that I have the stuff that is removed is correct. Every time I try to connect to the 3rd domain with out a www it shows me the index.html file from the second domain name. The OS that I am running is Windows Server 2003 Enterprise Edition
Code Snippet:
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
22:
23:
24:
25:
26:
27:

    ServerAdmin [email protected]
    DocumentRoot "C:\www\server1"
    ServerName [Removed For Privacy].com
    ServerAlias www.[Removed For Privacy].com
    ErrorLog "logs/[Removed For Privacy].com-error.log"
    CustomLog "logs/[Removed For Privacy].com-access.log" common

 
 

    ServerAdmin [email protected]
    DocumentRoot "C:\www\halglados08"
    ServerName halglados08.com
    ServerAlias www.halglados08.com
    ErrorLog "logs/halglados08.com-error.log"
    CustomLog "logs/halglados08.com-access.log" common

 

    ServerAdmin [email protected]
    DocumentRoot "C:\www\server3"
    ServerName [Removed For Privacy].info
    ServerAlias www.[Removed For Privacy].info
    ErrorLog "logs/[Removed For Privacy].info-error.log"
    CustomLog "logs/[Removed For Privacy].info-access.log" common

Open in New Window Select All

Answer : Configuring Apache web Server for multiple domains

Every DocumentRoot have to be world readable - is it?
Also, check the apache's error log - there should be the exact reason for denying the service.
Random Solutions  
 
programming4us programming4us