Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 1 Apr 2020 13:59:08 +0200
From:      Marc Lehmann <schmorp@schmorp.de>
To:        Richard Tobin <richard@inf.ed.ac.uk>
Cc:        freebsd@dreamchaser.org, FreeBSD Mailing List <freebsd-questions@freebsd.org>
Subject:   Re: weird 403 (forbidden) website access issue
Message-ID:  <20200401115908.GA6415@schmorp.de>
In-Reply-To: <20200331210711.301BC2CC98FE@macaroni.inf.ed.ac.uk>
References:  <20200331210711.301BC2CC98FE@macaroni.inf.ed.ac.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Mar 31, 2020 at 10:07:11PM +0100, Richard Tobin <richard@inf.ed.ac.uk> wrote:
> If you give a browser the numeric IP address, it won't know what
> Host: header to send.

HTTP/1.1 specifies exactly what to send in that case, namely the uri-host,
which would simply tbe the IP address in this case - URLs with ip literals are
perfectly fine and work with HTTP/1.1.

It might still be cause of a problem on the server side, but browser
behaviour is pretty much inversally the same for this case.

-- 
                The choice of a       Deliantra, the free code+content MORPG
      -----==-     _GNU_              http://www.deliantra.net
      ----==-- _       generation
      ---==---(_)__  __ ____  __      Marc Lehmann
      --==---/ / _ \/ // /\ \/ /      schmorp@schmorp.de
      -=====/_/_//_/\_,_/ /_/\_\



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20200401115908.GA6415>