<VirtualHost *:80>
ServerAdmin [EMAIL PROTECTED]
ServerName website01.domainA.com
DocumentRoot "F:/websites/website01"
</VirtualHost>
 
I'd imagine this wouldnt be helping much .
 
try removing that entry as it is defined furthur down your config and changing 
 
#Use name-based virtual hosting.
NameVirtualHost *:80
NameVirtualHost 192.168.1.9:80
NameVirtualHost 192.168.1.9:80
NameVirtualHost 192.168.1.9:80
 
to
 
#Use name-based virtual hosting.
NameVirtualHost 192.168.1.9:80
Cheers
Dale.
 
----- Original Message -----
From: Rob Wood
To: CLUG
Sent: Thursday, January 20, 2005 10:15 PM
Subject: Apache 2

Greetings,
I have been having major problems with Apache, running a main server and two virtual hosts.
 
I have been through the Apache documentation with a fine tooth comb and as far as I can see my cofiguration should work. It works OK when accessing the main server from outside, but when I try to access the virtual hosts, they all default to the main server.
 
The best I have managed so far is to run the main server and 1 virtual host, using the _default_vhost directive on a separate port. With this setup, I managed to access 2 of the sites, but then that leaves 1 site out of the setup.
 
Assuming that the first 2 sections of the httpd.conf are correct, as it is as the default except that I entered the basic main server information, then the 3rd section, Virtual Hosts must be causing the problem.
 
I have therefore attached the VHost section of the httpd.conf to keep the e-mail concise. If anyone can point me in the right direction I would be grateful.
 
I have unfortunately had to run my commercial site on Win2000 and IIS to stay online for now so none of my 3 sites can be accessed via Apache just now.
 
Woodsey


No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.300 / Virus Database: 265.7.1 - Release Date: 19/01/2005

Reply via email to