Received: (from majordom@localhost) by hyperreal.org (8.8.5/8.8.5) id EAA08934; Sun, 5 Oct 1997 04:26:48 -0700 (PDT) Received: from eastwood.aldigital.algroup.co.uk (eastwood.aldigital.algroup.co.uk [194.128.162.193]) by hyperreal.org (8.8.5/8.8.5) with SMTP id EAA08927 for ; Sun, 5 Oct 1997 04:26:45 -0700 (PDT) Received: from freeby.ben.algroup.co.uk (freeby.ben.algroup.co.uk [193.133.15.6]) by eastwood.aldigital.algroup.co.uk (8.6.12/8.6.12) with ESMTP id LAA11564 for ; Sun, 5 Oct 1997 11:26:29 GMT Received: from algroup.co.uk (naughty.ben.algroup.co.uk [193.133.15.107]) by freeby.ben.algroup.co.uk (8.6.12/8.6.12) with ESMTP id MAA10103 for ; Sun, 5 Oct 1997 12:26:11 +0100 Message-ID: <3437794A.A5E1A437@algroup.co.uk> Date: Sun, 05 Oct 1997 12:26:02 +0100 From: Ben Laurie Organization: A.L. Digital Ltd. X-Mailer: Mozilla 4.03 [en] (WinNT; I) MIME-Version: 1.0 To: new-httpd@apache.org Subject: Re: more vhost thoughts References: <9710050242.aa24169@paris.ics.uci.edu> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: new-httpd-owner@apache.org Precedence: bulk Reply-To: new-httpd@apache.org Status: O X-Status: 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