weird 403 (forbidden) website access issue

Marc Lehmann schmorp at schmorp.de
Wed Apr 1 11:59:38 UTC 2020


On Tue, Mar 31, 2020 at 10:07:11PM +0100, Richard Tobin <richard at 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 at schmorp.de
      -=====/_/_//_/\_,_/ /_/\_\


More information about the freebsd-questions mailing list