Hi Andy,

Take a look at mod_extract_forwarded for Apache, this will help you.

Or mod_rpath does the same.

Just make sure you pass the correct X-Forwarded-For header in your VCL.

Wido

On Mon, 2010-11-29 at 21:48 +0000, Andy Bailey wrote:
> I have a file on my server that checks a user hasn't accessed it more
> than 5 times in the past 5 minutes by saving the IP address of every
> request. Since having varnish installed, the file is denying access to
> everyone because for some reason the IP address that is being stored
> is always my server IP. How would I make sure that requests to that
> file pass the users IP address?
> 
> 
> hope you can help?
> _______________________________________________
> varnish-misc mailing list
> [email protected]
> http://lists.varnish-cache.org/mailman/listinfo/varnish-misc


_______________________________________________
varnish-misc mailing list
[email protected]
http://lists.varnish-cache.org/mailman/listinfo/varnish-misc

Reply via email to