Yes, X-FORWARDED-FOR, but this solution (enabling
trusted-servers in zope.conf) do not work.
Trusted-servers in my zope.conf are already enabled,
but in the log file, the ip of the proxy appears when
I want to log the ip of the client.
I was searching the function that writes the
REMOTE_ADDR variable into the log file in order to
modify it.
I was searching this function across the source code
of Zope 2.7.1 in /opt/zope/lib/python.
I want to modify the function that writes de
REMOTE_ADDR variable to:
if X-FORWARDED-FOR and REMOTE_ADDR in trusted-servers:

Anyone can help me ?

--- Toby Dickenson
<[EMAIL PROTECTED]> escribió:
> On Thursday 22 July 2004 12:06, Egon wrote:
> > I have a Zope server behind a proxy server, this
> proxy
> > enables de X-FORWARDED-FROM that contains the real
> ip
> > of the client that is connected.
> > I want to log this variable but I cannot find the
> way
> > to do it.
> Check out "trusted-proxies" in the zope configuation
> file.
> ....and you mean X-FORWARDED-FOR, not -FROM, right?
> -- 
> Toby Dickenson

Yahoo! lanza su nueva tecnología de búsquedas
¿te atreves a comparar?
Zope-Dev maillist  -  [EMAIL PROTECTED]
**  No cross posts or HTML encoding!  **
(Related lists - )

Reply via email to