100% Transparent Reverse Proxy

Christian Laursen xi at borderworlds.dk
Sun Jul 26 13:10:51 CEST 2009

Ryan Chan wrote:
> Hi,
> On Sun, Jul 26, 2009 at 12:46 PM, Michael S. Fischer 
> <michael at dynamine.net <mailto:michael at dynamine.net>> 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

More information about the varnish-misc mailing list