Re: Proper IP
| From: | Anil Madhavapeddy | Date: | Sun, 28 Jan 2001 02:26:42 +0000 |
| Subject: | Re: Proper IP | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-45180@lists.php.net to get a copy of this message | ||
Quoting Graeme Canivet <gibsea@nexicom.net>:
> Okay, an update to my caching proxy server problem:
>
> It seems that I get the proper true ip, when using https://,
> and the caching servers ip when I use http://
>
> Still, does anyone have any info on this problem?
>
I don't see what the problem is ... you said yourself that there's a caching
proxy server in the way. When you try to access your site via http, it goes
via the web-cache, and so your origin server sees the cache's IP address.
https should never be cached, and it isn't going through the webcache, and so
you get your client IP address appearing to the origin server.
All of which is fairly irrelevant to PHP. Take a look at some good web-cache
resources (google should help you, or www.netapp.com/tech_library)
--
Anil Madhavapeddy, <anil@recoil.org>