TPAC added content lookup uses local server address user/berick/tpac-ac-lookup-connect-timeout
authorBill Erickson <berick@esilibrary.com>
Mon, 24 Sep 2012 21:12:11 +0000 (17:12 -0400)
committerBill Erickson <berick@esilibrary.com>
Mon, 24 Sep 2012 21:12:11 +0000 (17:12 -0400)
commitb351538d9ca3ffb7f7d93124f3a3923a5b9a5436
treea6c9c1febe0fa9587af10a4f17d0d56e455f9a8d
parent840d3da965606ef69dc02c04e88f92a28332f3b7
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>
Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Record.pm