[Zope] How to get Client IP adres with Zope behind Apachr

Sascha Ottolski sascha.ottolski at gallileus.de
Fri Sep 10 05:02:55 EDT 2004


Am Donnerstag, 9. September 2004 23:40 schrieb Martin Koekenberg:
> Hello,
>
> I'm running Zope (2.7.0) behind Apache (2.0.50).
> I'm trying to get the client ip adres but I always get 127.0.0.1....
> That's logical because Apache runs on the same server.
>
> How can I get the real users IP adres ?
>
> Thanks for your help......
>
> Martin Koekenberg

May be this one is of help:

http://mail.zope.org/pipermail/zope/2001-June/092938.html

I remember there used to be patches or the like for apache 1.x, but I 
think there were never ported for 2.x.

If you don't really need to have apache in front, another approach might 
be to use pound (well, in theory, there seems to be a little problem in 
zope or python regarding header processing, but it's very simple to get 
around this).


Cheers,

Sascha

-- 
Gallileus - the power of knowledge

Gallileus GmbH                    http://www.gallileus.info/

Pintschstraße 16                  fon +49-(0)30-41 93 43 43
10249 Berlin                      fax +49-(0)30-41 93 43 45
Germany



+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
AKTUELLER HINWEIS (September 2004)

Neu im Sortiment: ca. 3,5 Millionen zusätzliche antiquarische
Bücher, Autographien, Grafiken und Noten von antbo

Suchen, finden, bestellen unter
http://www.gallileus.info/gallileus/search/advanced

Oder testen Sie unseren Literatur Alert Service zwei Wochen lang
kostenlos unter:
http://www.gallileus.info/gallileus/about/products/alerts/
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++


More information about the Zope mailing list