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 want to modify the function that writes de REMOTE_ADDR variable to: if X-FORWARDED-FOR and REMOTE_ADDR in trusted-servers
--- 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? http://busquedas.yahoo.es _______________________________________________ Zope-Dev maillist - [EMAIL PROTECTED] http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope )