httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "david micheneau" <dmichen...@in-fusio.com>
Subject [users@httpd] How add / foward in header the remote_addr with proxy mode ?!
Date Fri, 11 Mar 2005 11:10:12 GMT
I know that is possible to make own header HTTP.
I want to add in header HTTP, that I forward, my own header variable set
with the value of the environment variable REMOTE_ADDR.

It's possible ??

I've tried this: 

RequestHeader add MyHeader-ip %{REMOTE_ADDR}e

I see in the header HTTP forwarded my header name but the value is null:

GET / HTTP/1.1
Max-forwards: 10
MyHeader-ip: (null)

What is wrong ?


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message