[users@httpd] Port address infomation is removed when ProxyPreserveHost is ON

2020-05-10 Thread BALL SUN
Hi

we have used apache as proxy in order to forward HTTP2 request to
backend using mod_proxy_http2.

We have enable ProxyPreserveHost such that the originally :authority
header is preserved. However, we found that the port adress
information is removed after proxy.

e,g,
incoming HTTP2 request to Apache
===
:authority: test.com:1234

outgoing HTTP2 request from Apache
=
:authority: test.com

is there any method to preserve the port address information?

Thanks

- RBK

-
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org



Re: [users@httpd] Re: RemoteIPProxyProtocolExceptions with negated IP list

2020-05-10 Thread Eric Covener
On Sun, May 10, 2020 at 12:55 PM Marc Haber
 wrote:
>
> On Fri, May 08, 2020 at 01:16:28PM +0200, Marc Haber wrote:
> > Is it possible to have a negated IP address list in
> > RemoteIPProxyProtocolExceptions? I think that I cannot use SetEnvIf at
> > this point because the ProxyProtocol processing happens way before any
> > http processing begins.
>
> After pondering about this a bit, I would like to file an enhancement
> suggestion that the configuration options of mod_remoteip get somewhat
> canonicalized in the way that both methods offered by mod_remoteip get a
> positive _AND_ a negative exception list from the default behavior.
>
> As this is not a bug, how do the apache devs accept enhancement
> suggestions? Is that handled via the bug tracker as well or is there
> another point of contact for enhancement requests?

You can mark a bugzilla entry as an enhancement.

-
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org



[users@httpd] Re: RemoteIPProxyProtocolExceptions with negated IP list

2020-05-10 Thread Marc Haber
On Fri, May 08, 2020 at 01:16:28PM +0200, Marc Haber wrote:
> Is it possible to have a negated IP address list in
> RemoteIPProxyProtocolExceptions? I think that I cannot use SetEnvIf at
> this point because the ProxyProtocol processing happens way before any
> http processing begins.

After pondering about this a bit, I would like to file an enhancement
suggestion that the configuration options of mod_remoteip get somewhat
canonicalized in the way that both methods offered by mod_remoteip get a
positive _AND_ a negative exception list from the default behavior.

As this is not a bug, how do the apache devs accept enhancement
suggestions? Is that handled via the bug tracker as well or is there
another point of contact for enhancement requests?

Greetings
Marc

-- 
-
Marc Haber | "I don't trust Computers. They | Mailadresse im Header
Leimen, Germany|  lose things."Winona Ryder | Fon: *49 6224 1600402
Nordisch by Nature |  How to make an American Quilt | Fax: *49 6224 1600421

-
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org