Boru IP and Visitor IP conflict

Status
Not open for further replies.

gluxon

Member
Messages
31
Reaction score
1
Points
8
There seems to be a problem on Boru where all visitor IP's are the boru server's.

http://gluxon.tk/ip displays the ip of boru instead of the user. I would bet this problem is on the other servers as well.
 

descalzo

Grim Squeaker
Community Support
Messages
9,373
Reaction score
326
Points
83
This is a result of the load balancing set up they are using.

Instead of using the Environmental variable

REMOTE_ADDR

you should use either of

HTTP_X_FORWARDED_FOR
HTTP_X_REAL_IP

in your scripts.
 

gluxon

Member
Messages
31
Reaction score
1
Points
8
So will this be fixed, or should I just start using the two variables you posted?
 

descalzo

Grim Squeaker
Community Support
Messages
9,373
Reaction score
326
Points
83
I have been told that REMOTE_ADDR is now fixed for PHP scripts.
 

Corey

I Break Things
Staff member
Messages
34,553
Reaction score
204
Points
63
If further assistance is required please re-open this thread or create a new one. You can re-open this thread by clicking on the "Administrative" text at the top of the original post.
 
Status
Not open for further replies.
Top