Vbulletin 2.2.9 is released and I do not see any mention of this in the changed files. Has this been included and if it has not what files do I need to make this change in to make this work? We are getting killed with users login in as some one else because of our forced use of squid to help with the load.
Thanks..
Quote:
Originally posted by PPN
PHP Code:
if (isset($HTTP_X_FORWARDED_FOR))
{
$REMOTE_ADDR = $HTTP_X_FORWARDED_FOR;
} elseif (isset($HTTP_PROXY_USER))
{
$REMOTE_ADDR = $HTTP_PROXY_USER;
}
$REMOTE_ADDR = preg_replace('#^(\d{1,3})\.(\d{1,3})\.(\d{1,3})\.(\d{1,3})#s', '\\1.\\2.\\3.\\4', $REMOTE_ADDR);
this may be appearing in the 2.2.9 final depending what testing returns for the AOL issues that have been appearing.
|