From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=unavailable autolearn_force=no version=3.4.4 Path: eternal-september.org!reader01.eternal-september.org!feeder.eternal-september.org!aioe.org!.POSTED.3d73Ybk3C5U4I2t8lv+lAQ.user.gioia.aioe.org!not-for-mail From: "Dmitry A. Kazakov" Newsgroups: comp.lang.ada Subject: Re: AWS combined dispatcher Virtual host and URI Date: Sun, 19 Apr 2020 17:25:05 +0200 Organization: Aioe.org NNTP Server Message-ID: References: NNTP-Posting-Host: 3d73Ybk3C5U4I2t8lv+lAQ.user.gioia.aioe.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: abuse@aioe.org User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.7.0 X-Notice: Filtered by postfilter v. 0.9.2 Content-Language: en-US Xref: reader01.eternal-september.org comp.lang.ada:58419 Date: 2020-04-19T17:25:05+02:00 List-Id: On 2020-04-19 16:50, Per Jakobsen wrote: > I'm working on an AWS server that may be deployed to handle multiple Virtual hosts each with different root URIs. > > For instance a media gallery may be deployed on "http://personal_domain//gallery" but I may also like to use the same gallery server for "http://company_domain/gallery", both running on the same physical server. > > Am I right that AWS currently has no predefined dispatchers to handle this situation? And the problem is? Doesn't it has a callback on GET requests where you could process the URI and accumulate/point to the response body? -- Regards, Dmitry A. Kazakov http://www.dmitry-kazakov.de