REMOTE_ADDR on os x

I am trying to put a counter on my site, I need to use the REMOTE_ADDR php parameter. In os x this returns the servers ip address instead of the clients ip address. I read that prior to tiger you could use HTTPPC_REMOTEADDR, but this dose not seem to work anymore. what parameter will return the users ip in os x 10.4.3 Client?

G5, Mac OS X (10.4.3)

Posted on Jan 17, 2006 11:11 AM

Reply
5 replies

Jan 18, 2006 9:58 AM in response to stevenschopp

Turn off the performance cache in Server Admin -> Web -> Settings -> Sites -> Options

This acts as a proxy server in front of Apache to improve performance of certain files. However, one side effect is that Apache sees the IP address of the proxy server not the IP address of the user.

Performance cache or remote IP addresses. Pick one. You can't have both 🙂

In most cases, turning off the performance cache is what most people opt for. The performance gains are usually modest.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

REMOTE_ADDR on os x

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.