wood burning stoves 2.0*
The moose likes Tomcat and the fly likes Name based virtual hosting uses the http host header? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Name based virtual hosting uses the http host header?" Watch "Name based virtual hosting uses the http host header?" New topic
Author

Name based virtual hosting uses the http host header?

William Barnes
Ranch Hand

Joined: Mar 16, 2001
Posts: 984

In the book I am reading it details different ways of supporting virtual hosting. It claims that for name-based virtual hosting the http 1.1 host header value is used, than the context. I never understood that the http host header value was really used for any thing, and that it was always the context which was used.
What is anyone else's experience?

Please ignore post, I have no idea what I am talking about.
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 15629
    
  15

Prior to HTTP 1.1, the virtual host was determined by the target IP address. HTTP1.1 added header support so that more than one virtual host could respond at the same IP address.


Customer surveys are for companies who didn't pay proper attention to begin with.
 
Consider Paul's rocket mass heater.
 
subject: Name based virtual hosting uses the http host header?
 
Similar Threads
avoid loading all applications under webapps
validator exception in Struts 1
fail over in jdc URL
Problem in I18N in Spring
hibernate 4 and spring 3.1.2 issue with LocalSessionFactoryBuilder