]> git.evergreen-ils.org Git - OpenSRF.git/commit
LP#1684970 Translator compatible with mod_remoteip rel_2_5
authorBill Erickson <berickxx@gmail.com>
Mon, 27 Aug 2018 14:12:57 +0000 (10:12 -0400)
committerGalen Charlton <gmc@equinoxinitiative.org>
Mon, 5 Nov 2018 16:44:29 +0000 (11:44 -0500)
commit6798f279afca813490330d1363a77fb2d3754ed1
tree759cb848c3ed2b00ec9e2a0d93d669357cb35f3b
parentb021738d770b85e2117a719820e7fbb7e6749a28
LP#1684970 Translator compatible with mod_remoteip

Teach the OSRF Translator to request the IP address of the user agent
(e.g. web browser) instead of the IP address of the up stream client,
which may be a proxy, using the Apache 2.4 request_rec->useragent_ip
value.

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

This make is possible for the translator to access the client IP with
Apache's mod_remoteip enabled and configured.

Includes sample config and install documentation.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
README
examples/apache2/opensrf.conf
src/gateway/osrf_http_translator.c