[Zope] REMOTE_ADDR unavailable when using Virtual host

Jason Bush jason@nol.org
Mon, 02 Jun 2003 13:29:14 -0500


have you tried REQUEST.HTTP_X_FORWARDED_FOR

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=20
>address.
>
>How can I get to the original client ip address?
>I tried to set ProxyVia on in the Apache config file. However REQUEST.HT=
TP_VIA=20
>remains empty.
>
>Any hints are much appreciated.
>=20
>mit freundlichen Gr=FCssen
>
>Robert Rottermann
>www.redCOR.ch
>
>
>_______________________________________________
>Zope maillist  -  Zope@zope.org
>http://mail.zope.org/mailman/listinfo/zope
>**   No cross posts or HTML encoding!  **
>(Related lists -=20
> http://mail.zope.org/mailman/listinfo/zope-announce
> http://mail.zope.org/mailman/listinfo/zope-dev )
>
> =20
>

--=20
" No man's life, liberty or fortune is safe
  while our legislature is in session."   --Benjamin Franklin

Jason Bush  |  (402) 471-6517  |   jason@nol.org   |   http://www.nol.org