Re: [squid-users] HTTP Header

From: Mehmet ÇELiK <root_at_justunix.org>
Date: Fri, 9 Jan 2009 10:58:43 +0200

> In your vBulletin includes/init.php file change "define('IPADDRESS',
> $_SERVER['REMOTE_ADDR']);" to "define('IPADDRESS',
> $_SERVER['HTTP_X_FORWARDED_FOR']);".
>

No. I don't this. Because, this is not right method..

----- Original Message -----
From: "Chris Robertson" <crobertson_at_gci.net>
To: <squid-users_at_squid-cache.org>
Sent: Thursday, January 08, 2009 10:52 PM
Subject: Re: [squid-users] HTTP Header

> Mehmet ÇELiK wrote:
>> Hi all,
>>
>> I am using Squid as Reverse Proxy for my Web Servers. Client IP
>> Address is directing to Web Servers with X_FORWARDED_FOR. But, I want
>> to write Client IP Address to Remote_Address..
>>
>> I want to this, because.. I am using vBulletin Forum and vBulletin are
>> taking Reverse Proxy IP as REMOTE_ADDR. When a user access with wrong
>> password.. vBulletin is denying Reverse Proxy IP.. This event is
>> affecting all users.
>>
>> Can I write Client IP Address to $_SERVER['REMOTE_ADDR'] in PHP..
>> It's possible ?
>>
>>
>> Regards,
>> Mehmet CELIK
>
> http://www.vbulletin.com/forum/showthread.php?p=805786#post805786
>
> In your vBulletin includes/init.php file change "define('IPADDRESS',
> $_SERVER['REMOTE_ADDR']);" to "define('IPADDRESS',
> $_SERVER['HTTP_X_FORWARDED_FOR']);".
>
> Chris
>

--------------------------------------------------------------------------------

No virus found in this incoming message.
Checked by AVG - http://www.avg.com
Version: 8.0.176 / Virus Database: 270.10.5/1882 - Release Date: 08.01.2009
08:13
Received on Fri Jan 09 2009 - 08:58:53 MST

This archive was generated by hypermail 2.2.0 : Fri Jan 09 2009 - 12:00:02 MST