Ueland Posted October 13, 2005 Posted October 13, 2005 Hi, Our forums are on a size that requires us to use several servers, we are also using an internal apache-proxy system, but here we get a little problem. The server variable $_SERVER['REMOTE_ADDR'] returns the IP adress of the web server (since apache runs 2 instanses at once), but the real variable is $_SERVER['HTTP_X_FORWARDED_FOR']; Perhaps something to include in the code somewhere, because before we fixed it, the sessions table was truncated all the time, and users logged on, total users online etc did not work. But hey, the load went straight up :)
eyedam Posted October 13, 2005 Posted October 13, 2005 Isn't Security & Privacy -> Enable X_FORWARDED_FOR IP matching? option meant exactly for that?
Recommended Posts
Archived
This topic is now archived and is closed to further replies.