]> git.evergreen-ils.org Git - Evergreen.git/commit
TPAC added content lookup uses local server address
authorBill Erickson <berick@esilibrary.com>
Mon, 24 Sep 2012 21:12:11 +0000 (17:12 -0400)
committerLebbeous Fogle-Weekley <lebbeous@esilibrary.com>
Wed, 3 Oct 2012 16:40:07 +0000 (12:40 -0400)
commitaaf94d278b24e59000b705d14965d479576c3e54
treec4068510471296d2444e27d307dff7952edb9443
parent661fe70abe324c082ab9d6d0c1f01c64e2f4c9ef
TPAC added content lookup uses local server address

Use the current Apache server's IP address instead of apache->hostname
to determine where to route TPAC added content lookups.  This allows the
server to handle the added content lookup locally instead of having to
route out and back into the cluster.

Continue using apache->hostname as the Host header to ensure the proper
virtualhost is used once the request is received.

Signed-off-by: Bill Erickson <berick@esilibrary.com>
Signed-off-by: Michael Peters <mrpeters@library.in.gov>
Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Record.pm