Yes, each virtual server has its own servername (otherwise, I could not map several domain name on the same IP)

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" <[EMAIL PROTECTED]>
To: <users@httpd.apache.org>
Sent: Tuesday, August 08, 2006 1:31 PM
Subject: Re: [EMAIL PROTECTED] 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 <[EMAIL PROTECTED]> 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: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




--
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: [EMAIL PROTECTED]
  "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to