Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

VirtualHost Help... Please...

Status
Not open for further replies.

MarkerX

IS-IT--Management
Apr 15, 2003
6
US
OK I am banging my head against the wall here.

I have set up a few Apache Servers, all on Windows 2000 machines, and all successfully using VirtualHost.

I am moving a site from hosting at one server to a new server running on Windows XP Pro.

I can not get the VirtualHost to work, to save my life.

The VirtualHost, are "bleeding" together, pulling the index.html file from the wrong document root, but the correct image from the correct docuemtn root.

Please feel free to view my bair bones http.conf file at

Thanks in advance for any suggestions!

MarkerX
 
I would remove the line:ServerName 66.180.108.110:80, since you have ServerName directives in your VirtualHost containers. (This may or may not have any effect).

Also, check your DocumentRoot directives in each of your virtual hosts - one has some windows path, another has what appears to be a linux path. This is probably where your problems lie.
 
Removing the ServerName only produces an error:
"Apache.exe: Could not determine the server's fully qualified domain name, using 66.180.108.110 for ServerName"

Thanks anyway :(
 
The second virtual host still needs quotes around the document root.
 
I added that quotes, and still no luck.

So, I just reinstalled Apache 2.0.45 using the Microsoft Installer package, and started over with the Default http.conf file.

I added the first VirtualHost, for the main domain, and it works.

I added additional VirtualHost for the second Domain, and I am right back at square one.

I have reposted my latest http.conf, at
Sorry, I did not want to take the time to strip out all the comments this time.

Still baffled, but appreciate the help!

MarkerX
 
I removed the "/" , and add UseCanonicalName off under each VirtualHost, and still no dice.

Any onther ideas??
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top