[Zope] accessing REMOTE_ADDR

Richard Barrett R.Barrett@ftel.co.uk
Fri, 05 Oct 2001 10:54:40 +0100


The original question posed was:

"Is it possible to retrieve the actual IP address of the site visitor when
using Zope with Apache ProxyPass or Rewrite rules (without patching Apache)?"

I replied:

"In the case of mod_proxy and without patching the answer is no."

You responded:

"Sorry, that is wrong."

As a consequence of my post of 18:45 04/10/2001 +0100 and Ragnar Beer's 
post of 23:03 04/10/2001 +0200, can I take it we are now agreed that 
Apache's standard mod_proxy, with ProxyPass, or mod_rewrite, with a 
RewriteRule with P flag, does NOT pass the IP number of the machine making 
the incoming HTTP Request to the Zope server being proxied and that the 
Zope server sees the Apache machine's IP number as the REMOTE_ADDR?