httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ben Laurie <...@algroup.co.uk>
Subject Re: more vhost thoughts
Date Sun, 05 Oct 1997 11:26:02 GMT
Roy T. Fielding wrote:
> 
> >If a client connects to port X and gives "Host: foo:Y" where Y != X,
> >should the server reject the request?
> 
> The HTTP level may not be aware of a firewall/router changing the
> real port number within an intranet, for whatever reason, and thus the
> client may think it is talking to port 80 even though the connection
> is on some other port.  This isn't the client's fault, so an error is
> not appropriate.  I suggest just ignoring the Host header's port
> number and only using the physical port for selecting the server.

OK, that's another way to do it. Certainly, on no account should Y ever
be used.

Cheers,

Ben.

-- 
Ben Laurie            |Phone: +44 (181) 994 6435|Apache Group member
Freelance Consultant  |Fax:   +44 (181) 994 6472|http://www.apache.org
and Technical Director|Email: ben@algroup.co.uk |Apache-SSL author
A.L. Digital Ltd,     |http://www.algroup.co.uk/Apache-SSL
London, England.      |"Apache: TDG" http://www.ora.com/catalog/apache

Mime
View raw message