• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Name based virtual hosting uses the http host header?

 
William Barnes
Ranch Hand
Posts: 986
Eclipse IDE Firefox Browser Tomcat Server
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
 
Tim Holloway
Saloon Keeper
Pie
Posts: 17616
39
Android Eclipse IDE Linux
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Don't get me started about those stupid light bulbs.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic