comp.lang.ada
 help / color / mirror / Atom feed
From: Per Jakobsen <pdj@knaldgas.dk>
Subject: Re: AWS combined dispatcher Virtual host and URI
Date: Mon, 20 Apr 2020 12:59:13 -0700 (PDT)
Date: 2020-04-20T12:59:13-07:00	[thread overview]
Message-ID: <1152214b-e510-4368-93fe-47e5f82e0323@googlegroups.com> (raw)
In-Reply-To: <r7khes$kev$1@dont-email.me>

mandag den 20. april 2020 kl. 18.09.02 UTC+2 skrev J-P. Rosen:
> > The host header is meant to serve as an alias, but there is no guarantee
> > it would work, only if the client cooperates.
>
> Virtual hosts are several logical hosts served by the same physical
> server. Therefore, by definition, there is no way to distinguish if the
> user provides just the IP address.
> 
> But this is a red herring. If you give your visitor a URL that works,
> and the visitor tries something else and it doesn't work, well... too
> bad for him.

That was my thought, or if the host header is not given, fall back to one of the other galleries, or even an entirely different one.

~Per

  reply	other threads:[~2020-04-20 19:59 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-04-19 14:50 AWS combined dispatcher Virtual host and URI Per Jakobsen
2020-04-19 15:25 ` Dmitry A. Kazakov
2020-04-19 17:54   ` Per Jakobsen
2020-04-19 19:55     ` Dmitry A. Kazakov
2020-04-20  9:08       ` Per Jakobsen
2020-04-20 11:25         ` Dmitry A. Kazakov
2020-04-20 13:20           ` J-P. Rosen
2020-04-20 14:46             ` Dmitry A. Kazakov
2020-04-20 16:09               ` J-P. Rosen
2020-04-20 19:59                 ` Per Jakobsen [this message]
2020-04-21  5:39                   ` J-P. Rosen
2020-04-21  5:45                     ` Per Jakobsen
2020-04-21 21:25               ` Randy Brukardt
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox