Re: Reverse Proxy - Client IP

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

 



On 9/29/07, K Anand <kanand@xxxxxxxxxxxxxx> wrote:
> I finally managed to get the client IP. I had to use
> mod_proxy_add_forward.c  and
> mod_rpaf ....

Ahhh, that's because you're using the obsolete 1.3. It is set in 2.x.

>
> X-Forwarded-For header was not getting set.  So I had to use
> mod_proxy_add_forward.c .
> Once that header got set, my app was not able to use it directly. As I had
> written earlier,
> my app can see only CGI vars...So then had to use mod_rpaf  to move
> X-Forwarded-For into Remote IP.

All HTTP request headers are converted to CGI variables.
(X-Forwarded-For would become X_FORWARDED_FOR.)

---------------------------------------------------------------------
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