[Zope] Logging client IPs to Z2.log

Jonathan dev101 at magma.ca
Wed Aug 16 11:09:28 EDT 2006


----- Original Message ----- 
From: "Philip Kilner" <phil at xfr.co.uk>
To: "Oliver Hookins" <oliver.hookins at anchor.com.au>
Cc: "Jonathan" <dev101 at magma.ca>; <zope at zope.org>
Sent: Wednesday, August 16, 2006 11:02 AM
Subject: Re: [Zope] Logging client IPs to Z2.log


> Hi Oliver,
>
> Oliver Hookins wrote:
>>>> So... is it at all possible to log the real client IPs in Z2.log using
>>>> mod_proxy? If not what is going to happen when (and if) PCGI/FCGI 
>>>> support
>>>> is
>>>> removed?
>
> FCGI is already unsupported,
>
>>> It may be that you need to reconfigure apache, have a look at the apache
>>> docs:
>>>
>>> http://httpd.apache.org/docs/2.0/mod/mod_proxy.html
>>
>> What do you mean by reconfigure? If the directives I have used weren't 
>> supported
>> then httpd would have complained on restart. This is clearly not the 
>> problem.
>>
>
> Not necessarily - Jonathan may have been suggesting that Apache can do
> things /differently/, as opposed to that it is /wrongly/ configured.

Exactly.  Instead of using apache as a reverse proxy, set up rewrite rules 
and then you can pass along the ip address (if you really need it).


Jonathan 



More information about the Zope mailing list