Re: [Zope] Logging client IPs to Z2.log

2006-08-17 Thread Philip Kilner
Hi Oliver, Oliver Hookins wrote: I'd missed that you were using the reverse proxy technique - I'd strongly recommend rewrite rules. Without meaning to be greedy, can you suggest an example? As Jonathan says, the Zope book has examples. The most recent version I'm aware of is at: -

[Zope] Logging client IPs to Z2.log

2006-08-16 Thread Oliver Hookins
Hi there, First up: Python 2.4.2 Zope 2.9.4 I'm a relative Zope newbie so please forgive my ignorance but I have not been able to find an answer anywhere else. AFAIK there are a couple of options for running Zope behind Apache - PCGI/FCGI or mod_proxy. It seems PCGI/FCGI is deprecated in later

Re: [Zope] Logging client IPs to Z2.log

2006-08-16 Thread Andreas Jung
--On 17. August 2006 00:26:25 +1000 Oliver Hookins [EMAIL PROTECTED] wrote: Hi there, First up: Python 2.4.2 Zope 2.9.4 I'm a relative Zope newbie so please forgive my ignorance but I have not been able to find an answer anywhere else. AFAIK there are a couple of options for running Zope

Re: [Zope] Logging client IPs to Z2.log

2006-08-16 Thread Jonathan
- Original Message - From: Oliver Hookins [EMAIL PROTECTED] To: zope@zope.org Sent: Wednesday, August 16, 2006 10:26 AM Subject: [Zope] Logging client IPs to Z2.log Hi there, First up: Python 2.4.2 Zope 2.9.4 I'm a relative Zope newbie so please forgive my ignorance but I have

Re: [Zope] Logging client IPs to Z2.log

2006-08-16 Thread Oliver Hookins
Quoting Jonathan [EMAIL PROTECTED]: - Original Message - From: Oliver Hookins [EMAIL PROTECTED] To: zope@zope.org Sent: Wednesday, August 16, 2006 10:26 AM Subject: [Zope] Logging client IPs to Z2.log Hi there, First up: Python 2.4.2 Zope 2.9.4 I'm a relative

Re: [Zope] Logging client IPs to Z2.log

2006-08-16 Thread Philip Kilner
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

Re: [Zope] Logging client IPs to Z2.log

2006-08-16 Thread Jonathan
- Original Message - From: Philip Kilner [EMAIL PROTECTED] To: Oliver Hookins [EMAIL PROTECTED] Cc: Jonathan [EMAIL PROTECTED]; zope@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

Re: [Zope] Logging client IPs to Z2.log

2006-08-16 Thread Oliver Hookins
Quoting Jonathan [EMAIL PROTECTED]: - Original Message - From: Philip Kilner [EMAIL PROTECTED] To: Oliver Hookins [EMAIL PROTECTED] Cc: Jonathan [EMAIL PROTECTED]; zope@zope.org Sent: Wednesday, August 16, 2006 11:02 AM Subject: Re: [Zope] Logging client IPs to Z2.log Hi

Re: [Zope] Logging client IPs to Z2.log

2006-08-16 Thread Philip Kilner
Hi Oliver, Oliver Hookins wrote: 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). ...[snip]... Hmmm sounds like what I suspected is actually true... well at least I won't spend time bashing my

Re: [Zope] Logging client IPs to Z2.log

2006-08-16 Thread Oliver Hookins
Quoting Philip Kilner [EMAIL PROTECTED]: Hi Oliver, Oliver Hookins wrote: 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). ...[snip]... Hmmm sounds like what I suspected is actually

Re: [Zope] Logging client IPs to Z2.log

2006-08-16 Thread Jonathan
- Original Message - From: Oliver Hookins [EMAIL PROTECTED] To: [EMAIL PROTECTED] Cc: Jonathan [EMAIL PROTECTED]; zope@zope.org Sent: Wednesday, August 16, 2006 12:23 PM Subject: Re: [Zope] Logging client IPs to Z2.log Quoting Philip Kilner [EMAIL PROTECTED]: Hi Oliver, Oliver