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  -  [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 )
> 

_______________________________________________
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 )

Reply via email to