Re: $REMOTE_ADDR behind a proxy?
| From: | Bruno Gimenes Pereti | Date: | Wed, 07 Nov 2001 18:41:30 +0000 |
| Subject: | Re: $REMOTE_ADDR behind a proxy? | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-14116@lists.php.net to get a copy of this message | ||
I found it. It was my falt.
That vars are empty it you access them throught HTTPS.
[Obrigado] Thank's,
Bruno Gimenes Pereti.
----- Original Message -----
From: "Masaru Hoshi" <hoshi@telecorp.com.br>
To: "Bruno Gimenes Pereti" <pereti@ump.edu.br>
Cc: "PHP-DB" <php-db@lists.php.net>
Sent: Wednesday, November 07, 2001 3:22 PM
Subject: Re: [PHP-DB] $REMOTE_ADDR behind a proxy?
> 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.
>
> By the way, I'm using Squid-2.3.STABLE3, PHP-4.0.3 and Apache 1.3.19
>
> HTTP_VIA: 1.1 firewall.intranet.telecorp.com.br:3128 (Squid/2.3.STABLE3)
> HTTP_X_FORWARDED_FOR: 192.168.1.45
> REMOTE_ADDR: 200.183.206.3