Hi,

I'm confronted to the same problem as the one as discussed
at that address :
http://www.egroups.com/message/zope/43874?threaded=1

I'm trying to get back the REMOTE_ADDR variable because it's
changed to the Server's address by a ProxyPass directive.

I'm trying to use SetEnv or SetEnvIf directives to do that.
But I can't manage to expand %{REMOTE_ADDR} to an IP address.
I mean, if I use :
  SetEnv client_ip_1 %h
  SetEnv client_ip_2 %{Remote_Addr}
  SetEnv client_ip_3 %{ENV:Remote_Addr}
I get :
  client_ip_1 = %h
and not :
  client_ip_1 = 212.68.75.6
and the same for all my tries.

Is there a way to expand those values ? A magic key to turn ?

Have you found a better solution than the one exposed by HTH
in the message above ?

Thank you.
-- 
Denis FRERE
P3B    : Club Free-Pytho-Linuxien Caroloregien http://www.p3b.org

_______________________________________________
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )

Reply via email to