Re: [Zope-dev] Reporting X-FORWARDED-FOR into the log ( REMOTE_ADDR )

2004-07-23 Thread Egon
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 variab

Re: [Zope-dev] Reporting X-FORWARDED-FOR into the log ( REMOTE_ADDR )

2004-07-23 Thread Egon
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 variab

Re: [Zope-dev] Reporting X-FORWARDED-FOR into the log ( REMOTE_ADDR )

2004-07-23 Thread Toby Dickenson
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 zop

[Zope-dev] Reporting X-FORWARDED-FOR into the log ( REMOTE_ADDR )

2004-07-22 Thread Egon
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. Can anyone to help me? Thanks.