Hi,

On Wed, Aug 26, 2009 at 2:12 PM, pub crawler<[email protected]> wrote:

> Having issues with the IP information when we put Varnish in front. If
> we run Varnish and bypass Cherokee going directly to our web server
> the IP information is fine. Similarly, if we eliminate Varnish and run
> Cherokee going directly to our web server the IP information is
> fine/correct.
>
> [...]
>
> My guess here is that Cherokee is taking the CGI.REMOTE_ADDR or
> equivalent on requests and not utilizing the X-Forwarded-For when such
> is already set and available.

Do you mean you are getting 127.0.0.1 as remote address in logs or in
REMOTE_ADDR CGI variable? If it is the first, did you check "Accept
Forwarded IPs" option in "YourVirtualServer->Logging" section?. If
it's the second, then it's the expected behaviour as well, AFAIK.


-- 
Saludos:
Antonio Pérez
_______________________________________________
Cherokee mailing list
[email protected]
http://lists.octality.com/listinfo/cherokee

Reply via email to