comp.lang.ada
 help / color / mirror / Atom feed
From: "J-P. Rosen" <rosen@adalog.fr>
Subject: Re: AWS combined dispatcher Virtual host and URI
Date: Mon, 20 Apr 2020 18:09:01 +0200
Date: 2020-04-20T18:09:01+02:00	[thread overview]
Message-ID: <r7khes$kev$1@dont-email.me> (raw)
In-Reply-To: <r7kcjg$1543$1@gioia.aioe.org>

Le 20/04/2020 à 16:46, Dmitry A. Kazakov a écrit :
> You are using the HTTP header "Host", right? 
Yes, or more exactly, I access it through the AWS provided function

> But if the URI deploys the
> IP address like:
> 
>    http://192.168.1.1/gallery
> 
> 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.


-- 
J-P. Rosen
Adalog
2 rue du Docteur Lombard, 92441 Issy-les-Moulineaux CEDEX
Tel: +33 1 45 29 21 52, Fax: +33 1 45 29 25 00
http://www.adalog.fr

  reply	other threads:[~2020-04-20 16:09 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 [this message]
2020-04-20 19:59                 ` Per Jakobsen
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