how can i make zope log the X-Forwarded-For IP instead of 127.0.0.1 (it's behind apache) thanks, jonatan On Sun, 2003-02-02 at 20:15, Maik Jablonski wrote:
Andreas Jung wrote:
Checkout the REQUEST object. The remote IP is usually stored as REMOTE_ADDR attribute.
<simon@titanic.co.uk> wrote:
Can I get the IP Address of a visitor to my site?
REMOTE_ADDR is only meaningfull, if your Zope doesn't live behind Squid / Apache / Pound etc. In this cases you should check HTTP_X_FORWARDED_FOR.
Cheers, Maik
_______________________________________________ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev ) -- jonatan <jonatanpelikan@freemail.hu>