> -----Original Message-----
> From: Valter Nogueira [mailto:[EMAIL PROTECTED]]
> Subject: RE: [JBoss-user] Virtual Hosts
> 
> Will app1.myhost.com and app2.myhost.com respond to the same 
> IP address?

Yes

> If yes how a remote computer switch between app1 and app2, 
> since conection 
> is ulmately estabilished thru IP+Port?

Yes, that's a good question.  The HTTP 1.1 header contains the name of the
site that is being requested in it.  Only one web server can sit on a single
port for a given address, but the name of the site in the HTTP header allows
the server to pick which site the request ultimately goes to.  Only one of
the vhosts is considered the "default" vhost... this is the host that is
always chosen if someone connects with HTTP 1.0 protocol.  But that is very
rare any more.

:B


-------------------------------------------------------
This SF.NET email is sponsored by: Order your Holiday Geek Presents Now!
Green Lasers, Hip Geek T-Shirts, Remote Control Tanks, Caffeinated Soap,
MP3 Players,  XBox Games,  Flying Saucers,  WebCams,  Smart Putty.
T H I N K G E E K . C O M       http://www.thinkgeek.com/sf/
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to