This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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 Murach's Java Servlets and JSP this week in the Servlets 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: 15951
    
  19

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.
 
Don't get me started about those stupid light bulbs.
 
subject: Name based virtual hosting uses the http host header?
 
Similar Threads
fail over in jdc URL
validator exception in Struts 1
Problem in I18N in Spring
hibernate 4 and spring 3.1.2 issue with LocalSessionFactoryBuilder
avoid loading all applications under webapps