http://www.interchange.rtfm.info/icdocs/config/TrustProxy.htmlIt sounds like your load balancer is an HTTP proxy server (eg pound/pen/mod_proxy_balancer etc), so list its IP in that list and interchange will trust the X-Forward-For header it sends.
suppressed wrote:
DB writes:I'm looking into clustering for my IC stores. Once of the HA software packages that I'm considering has what may be a very serious drawback: all requests sent to the clustered servers lack the visitor's original IP address. Instead all requests come in using the IP of the box that runs the HA server. Since IC uses the visitors IP for the session ID among other things, it seems like this might be a bad idea. Does anyone have thoughts or suggestions?Maybe you can have a look if there is any environment variable that is being passed on to the other machines in the cluster, which contains the user's IP (such as 'HTTP_X_FORWARDED_FOR') ... If you have another environment var that contains the IP address, you coul d probably get away with patching lib/Vend/Server.pm in the 'populate' sub ...CU, Gert _______________________________________________ interchange-users mailing list suppressed http://www.icdevgroup.org/mailman/listinfo/interchange-users
-- Jonathon Sim <suppressed> Senior Developer @ Zeald.com (http://www.zeald.com) _______________________________________________ interchange-users mailing list suppressed http://www.icdevgroup.org/mailman/listinfo/interchange-users
Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.