This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan 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 Android Security Essentials Live Lessons this week in the Android 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: 15961
    
  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.
 
jQuery in Action, 2nd edition
 
subject: Name based virtual hosting uses the http host header?
 
Similar Threads
fail over in jdc URL
validator exception in Struts 1
hibernate 4 and spring 3.1.2 issue with LocalSessionFactoryBuilder
Problem in I18N in Spring
avoid loading all applications under webapps