Bug 62300 - mod_remoteip docs don't mention CONN_REMOTE_ADDR
Summary: mod_remoteip docs don't mention CONN_REMOTE_ADDR
Status: NEW
Alias: None
Product: Apache httpd-2
Classification: Unclassified
Component: Documentation (show other bugs)
Version: 2.4.33
Hardware: All All
: P2 normal (vote)
Target Milestone: ---
Assignee: HTTP Server Documentation List
Depends on:
Reported: 2018-04-13 20:01 UTC by Andrew Schulman
Modified: 2018-04-13 20:01 UTC (History)
0 users


Note You need to log in before you can comment on or make changes to this bug.
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!