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.
> 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 -
> http://mail.zope.org/mailman/listinfo/zope )
Zope-Dev maillist - [EMAIL PROTECTED]
** No cross posts or HTML encoding! **
(Related lists -