I've found a lot of traffic around this topic, but not the magic bullet so far.
I'm running phpBB on a GoDaddy server. The install works perfectly except one issue: the client IP address is always wrong. Clients always show an IP address in the GoDaddy IP range instead of the actual IP address.
When I echo back HTTP_X_FORWARDED_FOR, the results include my correct IP address, but the address is prepended with :ffff:. Presumably it's the :ffff: that prevents the address from parsing correctly.
To see this in action, visit 996outpost.com/ipcheck.php. The PHP echoes three values: SERVER_ADDR, REMOTE_ADDR, and HTTP_X_FORWADED_FOR.
REMOTE_ADDR is always incorrect; it's always the same value as SERVER_ADDR.
Is there a solution to this? None of the user verification extensions will work properly since each visitor's IP is erroneously indicated as the server IP.
I have found a couple of threads, one suggesting changes to startup.php and another with a line added to session.php, but neither helped out.
Thanks in advance for pointing me in the right direction.