Solved

VirtualHost troubles

Posted on 2009-04-01
2
178 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

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

Hi, in this article I'm going to teach you how to run your own site, and how to let people in (without IP). I'll talk about and explain each step... :) By the way, everything in this Tutorial is completely free and legal. This article is for …
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…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…
This tutorial demonstrates a quick way of adding group price to multiple Magento products.

743 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now