- Posts: 2
- Thank you received: 0
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
Save X-Forwarded-FOR IP Address
- vtccrs
- Topic Author
- Offline
- New Member
Less
More
12 years 7 months ago - 12 years 7 months ago #64919
by vtccrs
Save X-Forwarded-FOR IP Address was created by vtccrs
Hi all!
I know there is the "Save IP" functionality in Limesurvey - but this does not work in my case because I have a Load Balancer in front of the server running limesurvey. Limesurvey always saves the IP of the loadbalancer.
This setup cannot be changed... ;-/
Does somebody know how/where I can modify Limesurvey to save the X-Forwarded-FOR IP Address ?!?
Thanks a lot for answering!!
I am using:
LimeSurvey Version 1.90+ Build 9487
I know there is the "Save IP" functionality in Limesurvey - but this does not work in my case because I have a Load Balancer in front of the server running limesurvey. Limesurvey always saves the IP of the loadbalancer.
This setup cannot be changed... ;-/
Does somebody know how/where I can modify Limesurvey to save the X-Forwarded-FOR IP Address ?!?
Thanks a lot for answering!!
I am using:
LimeSurvey Version 1.90+ Build 9487
Last edit: 12 years 7 months ago by vtccrs.
The topic has been locked.
- vtccrs
- Topic Author
- Offline
- New Member
Less
More
- Posts: 2
- Thank you received: 0
12 years 7 months ago #64921
by vtccrs
Replied by vtccrs on topic Save X-Forwarded-FOR IP Address
Hi,
c_schmitz told me where to find it. thx a lot!
[11:59] <c_schmitz> |crs|: lets see
[11:59] <c_schmitz> currently $_SERVER is used
[12:00] <c_schmitz> save.php around line 336
[12:01] <c_schmitz> i think you can replace that with $_SERVER
[12:02] <|crs|> that would have been my question... so $_SERVER should work?
[12:02] <c_schmitz> yeah
[12:02] <|crs|> thanks a lot! i will check it!
c_schmitz told me where to find it. thx a lot!
[11:59] <c_schmitz> |crs|: lets see
[11:59] <c_schmitz> currently $_SERVER is used
[12:00] <c_schmitz> save.php around line 336
[12:01] <c_schmitz> i think you can replace that with $_SERVER
[12:02] <|crs|> that would have been my question... so $_SERVER should work?
[12:02] <c_schmitz> yeah
[12:02] <|crs|> thanks a lot! i will check it!
The topic has been locked.
- c_schmitz
- Offline
- LimeSurvey GmbH Employee
Less
More
- Posts: 301
- Thank you received: 84
12 years 7 months ago #64923
by c_schmitz
Best regards
Carsten Schmitz
LimeSurvey project leader
Replied by c_schmitz on topic Save X-Forwarded-FOR IP Address
This will be fixed in 1.92 so that the right IP address is saved always.
Best regards
Carsten Schmitz
LimeSurvey project leader
The topic has been locked.
- datatime_rowan
- Offline
- New Member
Less
More
- Posts: 1
- Thank you received: 0
10 years 11 months ago #96097
by datatime_rowan
Replied by datatime_rowan on topic Save X-Forwarded-FOR IP Address
I am currently running Version 2.00+ Build 130428, and I have setup LimeSurvey behind our loadbalancing server. However, I am still only seeing the IP address of the load balancer. Is there something that has to be adjusted in the new versions to enable this?
The topic has been locked.
- loconstantin
- Offline
- New Member
Less
More
- Posts: 8
- Thank you received: 0
9 years 2 months ago #117036
by loconstantin
Replied by loconstantin on topic Save X-Forwarded-FOR IP Address
I have the same problem as @datatime_rowan but with version 2.05+
Is there a way to configure that?
Thanks a lot,
Lo
Is there a way to configure that?
Thanks a lot,
Lo
The topic has been locked.