httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eric Covener <cove...@gmail.com>
Subject Re: Shouldn't ap_get_remote_host use req->useragent_addr?
Date Thu, 07 Jan 2016 15:06:11 GMT
On Thu, Jan 7, 2016 at 9:25 AM, Jan Kalu┼ża <jkaluza@redhat.com> wrote:
> When httpd is running behind a reverse proxy and mod_remoteip is configured,
> the correct client IP is logged (using %a in the LogFormat), but the proxy
> IP is used by 'Require host .mydomain.net'. I would expect the host based on
> IP provided by mod_remoteip to be used here.
>
> Is this expected behaviour? Maybe the ap_get_remote_host method should use
> req->useragent_addr instead of conn->client_addr to obtain the REMOTE_HOST.

what about "Require ip ..."?

Mime
View raw message