I added unset($_SERVER["HTTP_X_FORWARDED_FOR"]); to common.php but it's not disabled yet.admin wrote:I don't know if there's a way to disable _SERVER["HTTP_X_FORWARDED_FOR"] at Cloudfare
If yes - disable it
If no - add to all common.php
unset($_SERVER["HTTP_X_FORWARDED_FOR"]);
I asked my host and they say:
So why do some trades go inactive?The line NEEDS to be set if you are using CloudFlare. Otherwise Apache cannot see the real IP address of the client.
We are seeing the correct values here.. (office IP is 208.167.225.40)
Apache Environment
Variable Value
on 127.0.0.1
GEOIP_ADDR 208.167.225.40
GEOIP_CONTINENT_CODE NA
GEOIP_COUNTRY_CODE US
GEOIP_COUNTRY_NAME United States
HTTP_HOST xxxhdd.com
HTTP_X_REAL_IP 208.167.225.40
HTTP_X_FORWARDED_FOR 208.167.225.40, 208.167.225.40
Everything is working correctly.







