httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From William A Rowe Jr <wr...@rowe-clan.net>
Subject Re: Listen 443 https
Date Fri, 08 Sep 2017 02:37:23 GMT
Reminder, this will not work with the current server_rec, we have a 1:1
correspondence to the server port. We would need to stop looking at that
field and track the port entirely on the connection and the server rec
addresses array.

On Fri, Sep 1, 2017 at 10:12 AM, Eric Covener <covener@gmail.com> wrote:
> On Fri, Sep 1, 2017 at 10:39 AM, Stefan Eissing
> <stefan.eissing@greenbytes.de> wrote:
>> I get the first feedback from Apache users that want their http: only
hosts to also serve https:. This is nice feedback to improve usability of
mod_md.
>>
>> Ideally, what these people want - and that is purely my interpretation -
is to add a few lines to their config and - voila - https: is available.
And, honestly, why should they not expect that?
>>
>>
>>
>> Example: Duplication/Redirect
>>
>> They have something like:
>> ----------------------------------
>> Listen 80
>> <VirtualHost *:80>
>> ServerName xxx.yyy
>> ...
>> </VirtualHost>
>> ----------------------------------
>>
>> and want to also make that available on https:
>> ----------------------------------
>> Listen http://*:80
>> Listen https://*:443
>>
>> <VirtualHost *:80>
>> ServerName xxx.yyy
>> AlternatePorts 443
>> ...
>> </VirtualHost>
>> ----------------------------------
>>
>> or redirect everyone to https:
>> ----------------------------------
>> Listen http://*:80
>> Listen https://*:443
>>
>> <VirtualHost *:443>
>> ServerName xxx.yyy
>> RedirectPermanentFrom 80
>> ...
>> </VirtualHost>
>
> I am not keen on the syntax because we already permit multiple
> addresses in the VirtualHost tag.
>
> How about e.g.
>
> <virtualhost *:80 *:443>

Again, fo

Mime
View raw message