2 Jun
2003
2 Jun
'03
9:29 a.m.
On Sunday 01 June 2003 14:32, robert wrote:
Hi, I am using a Zope installation on a windows 200 server behind an Apache 2.
Accessing the site trough ZMI i get the correct REQUEST.REMOTE_ADDR.
When I do the same in a product, request.REMOTE_ADDR contains the server IP address.
How can I get to the original client ip address? I tried to set ProxyVia on in the Apache config file. However REQUEST.HTTP_VIA remains empty.
Any hints are much appreciated.
In Zope 2.7 or the cvs trunk, REQUEST.getClientAddr() That change is in the CVS branch toby-http-forwarded-for-branch, and merges cleanly with zope 2.6.x -- Toby Dickenson http://www.geminidataloggers.com/people/tdickenson