[Zope] Apache ProxyPass directive and REMOTE_ ENV
Denis
spirou@carolo.com
Mon, 15 Jan 2001 06:45:25 +0100
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