Comment 12 for bug 1684970

Revision history for this message
Jeff Godin (jgodin) wrote :

In a proxy/load balancer scenario, our expectation that client_ip contains an IP other than that of the proxy or load balanacer seems to be contrary to the Apache 2.4 API.

From http://httpd.apache.org/docs/2.4/developer/new_api_2_4.html

 * When you require the IP address of the user agent, which might be connected directly to the server, or might optionally be separated from the server by a transparent load balancer or proxy, use request_rec->useragent_ip and request_rec->useragent_addr.

 * When you require the IP address of the client that is connected directly to the server, which might be the useragent or might be the load balancer or proxy itself, use conn_rec->client_ip and conn_rec->client_addr.