On 9/29/07, K Anand <[EMAIL PROTECTED]> 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: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to