[Cherokee] cherokee as a backend server
Alberto Caso
alberto.caso at adaptia.es
Fri Apr 3 18:05:52 CEST 2009
Hi,
On Fri, 03-04-2009 at 16:56 +0200, Alvaro Lopez Ortega wrote:
> > This may be useful for X-FORWARDED-FOR also. What do you think?
>
> Currently Cherokee support both X-Real-IP and X-Forwarded-For. In the
> case of X-Real-IP it is supported by all the loggers (in trunk and the
> upcoming 0.99.10) and the reverse proxy handler.
I meant to support X-FORWARDED-IP in the loggers.
If I understood the recent changes correctly, Cherokee (as backend
server) now supports logging the IP address found in the X-Real-IP
instead of using the client's IP address to be able to log the real
client's address instead of the reverse proxy's one.
What I meant in my previous mail is that maybe it could also be useful
to be able to log the client IP address based on the X-FORWARDED-IP for
proxies that set X-FORWARDED-IP instead of X-Real-IP (ie. a Squid proxy
in front of a Cherokee backend).
I'm aware this is not as straight-forward as X-Real-IP support.
Hope I explained it better this time. Sorry for not explaining it right
in my previous mail.
Regards,
--
Alberto Caso Palomino | Adaptia
alberto.caso at adaptia.es | http://www.adaptia.es
More information about the Cherokee
mailing list