httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matus UHLAR - fantomas <uh...@fantomas.sk>
Subject Re: [users@httpd] Virtual Sites IP Distinguishing
Date Thu, 06 Jul 2006 08:56:58 GMT
On 06.07.06 14:39, Mark Sargent wrote:
> when you have x amount of virtual sites on the one machine and all of 
> the domains point to the same IP in DNS, how does apache distinguish 
> which site the request is for? Is it something in the payload section 
> from the upper layer of the frame that comes in? I understnad that DNS 
> resolves the domain name to an IP so is the domain name maintained in 
> the payload?

No, it's the "Host" header defined in HTTP/1.1 protocol:

GET / HTTP/1.0
Host: home.nextra.sk

-- 
Matus UHLAR - fantomas, uhlar@fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
Boost your system's speed by 500% - DEL C:\WINDOWS\*.*

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message