[Zope] How to log real user and ip in Z2.log behind squid/apache?

Ng Pheng Siong ngps at netmemetic.com
Thu Jun 24 22:03:30 EDT 2004


On Wed, Jun 23, 2004 at 04:13:22PM +0800, Choo Zhi Min wrote:
> I run zope-2.7.1 behind squid and apache. Z2.log captures the ip of  
> squid/apache (they are on the same machine), and the user is always  
> Anonymous. How to configure Z2.log to log the real ip of users and their  
> login name?

There is a patch that adds a HTTP header carrying the 'real' client
address. Search for it on Zope.org.

Regarding login name, if Zope sees only anonymous users how do you manage
it TTW?

-- 
Ng Pheng Siong <ngps at netmemetic.com> 

http://firewall.rulemaker.net     -+- Firewall Version Control
http://sandbox.rulemaker.net/ngps -+- M2Crypto, ZServerSSL/Zope, Blog


More information about the Zope mailing list