The trouble was (was, 'cause now I solved it) that if I use the IP address instead of a name, the first virtual host appeared.
The solution is to put a "fake" virtual host as first in the conf file ! An it works
----- Original Message ----- From: "Steve Swift" <steve.j.swift@xxxxxxxxx>
To: <users@xxxxxxxxxxxxxxxx> Sent: Tuesday, August 08, 2006 1:31 PM Subject: Re: [users@httpd] Access to IP address Each virtual host has (or certainly *should* have) a distinct servername. You get to the virtual hosts by going to http://servername/ If this doesn't work it might be a problem with your browser, but it would have to be very old to cause such a problem! On 08/08/06, Marc MENDEZ <cnmm600@xxxxxxxx> wrote:
Hi, I have several virtual hosts associated to a single IP. Unfortunately, when I connect to http://the_single_IP, I get one of my website ! How can I prevent this ? Thanks for your help ! ___________________________________________________________________________ Découvrez un nouveau moyen de poser toutes vos questions quelque soit le sujet ! Yahoo! Questions/Réponses pour partager vos connaissances, vos opinions et vos expériences. http://fr.answers.yahoo.com --------------------------------------------------------------------- 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@xxxxxxxxxxxxxxxx " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx
-- Steve Swift http://www.swiftys.org.uk___________________________________________________________________________ Découvrez un nouveau moyen de poser toutes vos questions quelque soit le sujet ! Yahoo! Questions/Réponses pour partager vos connaissances, vos opinions et vos expériences. http://fr.answers.yahoo.com
--------------------------------------------------------------------- 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@xxxxxxxxxxxxxxxx " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx