[prev in list] [next in list] [prev in thread] [next in thread] 

List:       apache-httpd-dev
Subject:    Re: dual port 80 443
From:       William A Rowe Jr <wrowe () rowe-clan ! net>
Date:       2018-10-26 19:06:13
Message-ID: CACsi251x0FaTgh85hPAN7Xq6RqqsXrh4NK=-JFh7sJ_mQPvutQ () mail ! gmail ! com
[Download RAW message or body]

This doesn't work correctly in 2.4.x... but needs to be fixed in trunk for
2.next.

The problem is that our connection rec structure defers to the vhost
structure
for the port assignment, a 1:1 mapping. We need to break this and trust the
vhost is 1:many, and the connection rec records which inbound port the
request was accepted on. And then tweak everywhere in httpd core modules
and encourage third party authors to adopt the new convention.



On Fri, Oct 26, 2018 at 1:49 AM Edwardo Garcia <wdgarc88@gmail.com> wrote:

> Hi,
> We have only few domains to manage, usually either http or https, but we
> have lately had requests for both (we  know defeat purpose but customer
> knows what they want and they no take monetary or personal informations on
> website)
>
> I know this works with duplication of virtualhosts, but should it also
> work with
> <VirtualHost 1.2.3.4:80 [2001:1:1:1::1]:80 1.2.3.4:443
> [2001:1:1:1::1]:443>
> ...
> </VirtualHost>
> To avoid duplicating?
> nginx does not seem to have this limitation, so I'm surprised httpd2 does.
>
> If I omit ports, it will errors on http  if ssl engine on.
>
> or have I overlooked option?
>
> Willy
>
>

[Attachment #3 (text/html)]

<div dir="ltr">This doesn&#39;t work correctly in 2.4.x... but needs to be fixed in \
trunk for 2.next.<div><br></div><div>The problem is that our connection rec structure \
defers to the vhost structure</div><div>for the port assignment, a 1:1 mapping. We \
need to break this and trust the</div><div>vhost is 1:many, and the connection rec \
records which inbound port the</div><div>request was accepted on. And then tweak \
everywhere in httpd core modules</div><div>and encourage third party authors to adopt \
the new convention.</div><div><br></div><div><br><br><div class="gmail_quote"><div \
dir="ltr">On Fri, Oct 26, 2018 at 1:49 AM Edwardo Garcia &lt;<a \
href="mailto:wdgarc88@gmail.com">wdgarc88@gmail.com</a>&gt; \
wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 \
.8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div \
dir="ltr">Hi,<br>We have only few domains to manage, usually either http or https, \
but we have lately had requests for both (we   know defeat purpose but customer knows \
what they want and they no take monetary or personal informations on \
website)<br><br>I know this works with duplication of virtualhosts, but should it \
also work with<br>&lt;VirtualHost <a href="http://1.2.3.4:80" \
target="_blank">1.2.3.4:80</a> [2001:1:1:1::1]:80 <a href="http://1.2.3.4:443" \
target="_blank">1.2.3.4:443</a> \
[2001:1:1:1::1]:443&gt;<br>...<br>&lt;/VirtualHost&gt;<br>To avoid duplicating? \
<br>nginx does not seem to have this limitation, so I&#39;m surprised httpd2 \
does.<br><br>If I omit ports, it will errors on http   if ssl engine on.<br><br>or \
have I overlooked option?<br><br>Willy<br><br></div></div> \
</blockquote></div></div></div>



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic