Solved

VirtualHost troubles

Posted on 2009-04-01
2
183 Views
Last Modified: 2012-05-06
I want
      silvergold.com
to go to:
      c:/wamp/www/silverGold/

I want everthing else to go to:
      c:/wamp/www/

My code sends EVERYTHING to
      c:/wamp/www/silverGold/


<VirtualHost *:80>
    ServerName silvergold.com
	ServerAlias *.silvergold.com
    DocumentRoot c:/wamp/www/silverGold/
</VirtualHost>
 
<VirtualHost *:80>
    ServerName server.com
	ServerAlias *
    DocumentRoot c:/wamp/www/
</VirtualHost>

Open in new window

0
Comment
Question by:hankknight
2 Comments
 
LVL 27

Accepted Solution

by:
caterham_www earned 500 total points
ID: 24042267
Namevirtualhost *:80

is somwhere above I guess.

Did you try to reverse the <virtualhost> sections?
0
 
LVL 16

Author Comment

by:hankknight
ID: 24053330
Adding Namevirtualhost solved it! Thanks.
0

Featured Post

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

As Wikipedia explains 'robots.txt' as -- the robot exclusion standard, also known as the Robots Exclusion Protocol or robots.txt protocol, is a convention to prevent cooperating web spiders and other web robots from accessing all or part of a websit…
If your site has a few sections that need to be secure when data is transmitted between the server and local computer, such as a /order/ section for ordering or /customer/ which contains customer data, etc it would of course be recommended to secure…
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…

773 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question