[Zope] a question about REQUEST.REMOTE_ADDR ?

Oleg Broytmann Oleg Broytmann <phd@phd.pp.ru>
Thu, 1 Nov 2001 12:11:18 +0300


On Thu, Nov 01, 2001 at 09:57:29AM +0800, Eiffel wrote:
> hi all:
>    I made a guest book, and i wish to write down every guest's IP address .

   Don't do this (privacy, security).

> here is my code, but i keep getting IP address 127.0.0.1 , whY?

   Probably because you hide your Zope behind Apache using mod_proxy?

Oleg.
-- 
     Oleg Broytmann     http://www.zope.org/Members/phd/     phd@phd.pp.ru
           Programmers don't die, they just GOSUB without RETURN.