Jack Tuhman skrev: > > We have a very old webapp that has an embedded server. We have put > varnish in front of it to help with load while we rewrite it. However, > it is detecting the IP address of the varnish box rather then the > client. I know that in apache, we can fix this by looking at > HTTP_X_FORWARDED_FOR, however, our old app does not let us do that. Is > there anything we can do in varnish to pass the real ip in the > REMOTE_ADDR server var?
The REMOTE_ADDR server variable is set locally on the web server. So, unless you can write some custom code to override REMOTE_ADDR you are out of luck. :-( Per.
signature.asc
Description: OpenPGP digital signature
_______________________________________________ varnish-misc mailing list varnish-misc@projects.linpro.no http://projects.linpro.no/mailman/listinfo/varnish-misc