httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Koen Vingerhoets" <koen.vingerho...@ubench.com>
Subject RE: [users@httpd] Virtual Hosting problem
Date Tue, 17 Dec 2002 15:56:33 GMT
Hi!

As far as I know, as you defined both on same IP, the first one has
precedence and will be used.
This however are my two cents and thrown in from very very far.

If you switch them around, your www.domain.ca will not be usable anymore.

Koen


-----Original Message-----
From: Mark McCulligh [mailto:mmcculli@visualtech.ca]
Sent: 17 December 2002 16:54
To: users@httpd.apache.org
Subject: [users@httpd] Virtual Hosting problem


I am trying to setup VirtaulHosting using names. The problem is when I go to
site1.domain.ca it loads the site fine but when you move around the pages
from the primary site www.domain.ca keep coming up instead of the pages from
site1.domain.ca  Did I declare my site1.domain.ca right?

<VirtualHost 192.168.192.100>
    ServerName        www.domain.ca
    DocumentRoot    /www/domain
    DirectoryIndex    index.php index.html index.htm
</VirtualHost>

<VirtualHost 192.168.192.100>
    ServerName        site1.domain.ca
    DocumentRoot    /www/site1
    DirectoryIndex    index.php index.html index.htm
</VirtualHost>

Thanks, Mark.


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org





---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message