Hi,
I've been trying to set up a counter on my site and in the process have tried several prefab counter scripts.
The scripts all return 127.0.0.1 on the dev system and the ip of the server on the production system. phpinfo() shows correct REMOTE_ADDR.
HTTP_X_FORWARDED_FOR and HTTP_CLIENT_IP, etc return nothing.
Dev system is running Apache 2.0.50 and php 4.3.8
I have mod_proxy on this system, however I have disabled proxying in the conf file. (have also tried a rewrite rule to add http-x-forwarded-for, but it didn't work for me.
Production system is running Apache 1.3.33 php 4.3.10. Not 100% sure about its apache mods (it's my hosts server)
Can anyone provide some insight into this issue?
Any help appreciated.