[Zope-dev] Log procedure

Chris McDonough chrism at plope.com
Tue Jul 27 09:18:59 EDT 2004


Just curious: rather than jump through hoops to try to make Zope log the
right IP would it be possible for you to put Apache in front of Pound
and have it do the logging?  This would also provide a single log for
all requests (no matter which backend server they made it to).

On Tue, 2004-07-27 at 06:29, Egon wrote:
> I have a Zope server behind a proxy server (
> http://www.apsis.ch/pound ), in Zope, I am configured
> zope.conf ( trust-servers and cgi-environment).
> But in the log file, I can see only the ip of the
> proxy, when I want to see the client ip.
> HTTP-FORWARDED-FROM is set. 
> But Zope logs REMOTEADDR in place of FORWARDED-FROM.
> I think that I may modify any python file in order to
> log FORWARDED-FROM , but I cannot find the py file
> that I may modify.
> 
> Could anybody help me? I want to log the
> forwarded-from value.
> 
> Thanks.
> 
> 
> 		
> ______________________________________________
> Yahoo! lanza su nueva tecnología de búsquedas
> ¿te atreves a comparar?
> http://busquedas.yahoo.es
> _______________________________________________
> Zope-Dev maillist  -  Zope-Dev at zope.org
> 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 )
> 



More information about the Zope-Dev mailing list