Re: Ip-to-country
| From: | Rasmus Lerdorf | Date: | Mon, 05 May 2003 23:07:34 +0000 |
| Subject: | Re: Ip-to-country | ||
| References: | 1 | Groups: | php.mirrors |
| Request: | Send a blank email to php-mirrors+get-17345@lists.php.net to get a copy of this message | ||
On Mon, 5 May 2003, Jim Winstead wrote:
> On Mon, May 05, 2003 at 03:49:02PM -0700, Rasmus Lerdorf wrote:
> > My request from the office looks like this:
> >
> > [ snip ]
> > X-Forwarded-For: 207.126.232.175
>
> so when the request hits the squid on php.net, it will get forwarded to
> the back-end apache, and this header will end up looking like one of:
>
> X-Forwarded-For: 207.126.232.175,22.22.22.22
> X-Forwarded-For: 22.22.22.22,207.126.232.175
Well, no, in my case it is a direct connection from my office. The
headers I showed you are the final headers seen by PHP on the server.
-Rasmus