ADOFMS Admin, SteveOC wrote: > Im running both Varnish and my LAMP application on the same machine, so > all requests hitting the apache server now have an incoming IP address > of 127.0.0.1. > > Is there something that I can do in VCL to set the client IP address > that apache sees as being the real client IP address ? > > My PHP app has a requirement to record both client IP address, > timestamp, and browser version for all accesses to the system, so I > eventually need to make this happen.
Take a look at the X-Forwarded-for header. -- Kenneth Rørvik, IT HiO Tlf 22 45 20 83 [EMAIL PROTECTED] _______________________________________________ varnish-misc mailing list varnish-misc@projects.linpro.no http://projects.linpro.no/mailman/listinfo/varnish-misc