Bug 62300

Summary: mod_remoteip docs don't mention CONN_REMOTE_ADDR
Product: Apache httpd-2 Reporter: Andrew Schulman <apache.org-andrex>
Component: DocumentationAssignee: HTTP Server Documentation List <docs>
Status: NEW ---    
Severity: normal    
Priority: P2    
Version: 2.4.33   
Target Milestone: ---   
Hardware: All   
OS: All   

Description Andrew Schulman 2018-04-13 20:01:41 UTC
The doc page for mod_remoteip (http://httpd.apache.org/docs/2.4/en/mod/mod_remoteip.html) doesn't mention that the IP address of the forwarding proxy is available in expressions as the CONN_REMOTE_ADDR variable. It should do that.

The "Expressions in Apache Server" page (http://httpd.apache.org/docs/2.4/expr.html) does mention CONN_REMOTE_ADDR, with a reference to mod_remoteip.

The two pages call the forwarding proxy address by different names. mod_remoteip somewhat confusingly calls it "the underlying client IP of the connection", while the Expressions page calls it "the peer ID address of the connection." It would help the reader if the docs called that address by the same name everywhere.

Thanks for your attention!