[Zope] Logging client IPs to Z2.log

Oliver Hookins oliver.hookins at anchor.com.au
Wed Aug 16 11:19:03 EDT 2006


Quoting Jonathan <dev101 at magma.ca>:

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

Hmmm sounds like what I suspected is actually true... well at least I won't
spend time bashing my head against a wall. Thanks for all your (very speedy)
help everyone!

-- 
Regards,
Oliver


More information about the Zope mailing list