Re: $REMOTE_ADDR behind a proxy?
| From: | Jesse Goerz | Date: | Wed, 07 Nov 2001 23:24:19 +0000 |
| Subject: | Re: $REMOTE_ADDR behind a proxy? | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-14126@lists.php.net to get a copy of this message | ||
On Wednesday 07 November 2001 12:22, Masaru Hoshi wrote:
> I'm not sure of what's going on. Try using phpinfo() and take
> a look in Apache Enviroment section. I've just seen my
> squid.conf and I didn't find anything that could justify this.
Look for this in your squid.conf file:
# TAG: forwarded_for on|off
# If set, Squid will include your system's IP address or name
# in the HTTP requests it forwards. By default it looks like
# this:
#
# X-Forwarded-For: 192.1.2.3
#
# If you disable this, it will appear as
#
# X-Forwarded-For: unknown
#
forwarded_for off