Ryan Chan wrote:
> Hi,
> 
> On Sun, Jul 26, 2009 at 12:46 PM, Michael S. Fischer 
> <[email protected] <mailto:[email protected]>> wrote:
> 
>     What's the purpose of these requirements?  Just curious.
> 
>     --Michael
> 
> 
> To the client side, it is a security requirement.
> To the server side, sometimes PHP need to get remote IP, obviously proxy 
> ip is meaningless to the program. (But I don't want to change the 
> program tp handle X-Forwarded-For)

Then use an apache module like rpaf (http://stderr.net/apache/rpaf/) 
which will remove the need to modify you PHP application.

-- 
Christian Laursen
_______________________________________________
varnish-misc mailing list
[email protected]
http://projects.linpro.no/mailman/listinfo/varnish-misc

Reply via email to