Re: finding the closest mirror
| From: | Jim Winstead | Date: | Sun, 26 May 2002 02:01:32 +0000 |
| Subject: | Re: finding the closest mirror | ||
| References: | 1 2 3 4 5 6 7 8 | Groups: | php.mirrors |
| Request: | Send a blank email to php-mirrors+get-10468@lists.php.net to get a copy of this message | ||
On Sun, May 26, 2002 at 03:52:29AM +0200, Trond Arve Nordheim wrote:
> On Sat, May 25, 2002 at 06:45:00PM -0700, Jim Winstead wrote:
> > i guess it has to do with the order in which multiple forwards show up.
> > the page will now print out the x-forwarded-for header and will try to
> > use the last address from that list. (if this doesn't work, we'll have
> > to get even more clever and try to pick out the routable address from
> > the list of addresses. :)
>
> Hm, now it gets my IP correct, but returned country code is US.
> According to the RIPE registry my IP belongs to Catch Communications AS
> in Norway.
what ip address? what does the page print out for x-forwarded-for?
(i bet a space was left in the ip when grabbing it from the
x-forwarded-for header. this should be fixed.)
jim