]> git.evergreen-ils.org Git - OpenSRF.git/commit
LP#1684970 Translator compatible with mod_remoteip
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:32:56 +0000 (11:32 -0500)
commit51a4651186c94686051262a9255d165eadd4f049
treed803b983794677ea8674a2c6ea0f503b8c107f0f
parent1423787b6076daeb18176e907b1ed307255ffbcb
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
src/gateway/osrf_http_translator.c