Hi,
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.
Or we could introduce new env variable and new auth_provider to work
with real remote_host of the client even when it is behind the proxy.
Regards,
Jan Kaluza
- Shouldn't ap_get_remote_host use req->useragent_addr? Jan Kaluža
-