httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "K Anand" <kan...@sail-steel.com>
Subject [users@httpd] Reverse Proxy - Client IP
Date Fri, 28 Sep 2007 06:59:17 GMT
I'm  using  apache 1.3.xx...I know it is way too old...
My situation is as follows :

Client   <----->   Apache      <------------>  Apache
                         (Rev Proxy)                       (Backend)

I have got access to CGI env vars on the Backend apache in my application. I 
would like to get the client IP there.

I have tried this :

SetEnv REMOTE_IDENT %{X-Forwarded-For}i

and tried to access REMOTE_IDENT  in my application...But i get 
%{X-Forwarded-For}i and not the value ...

Any help would be great .

Anand 


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