[users@httpd] How add / foward in header the remote_addr with proxy mode ?!

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux