in reply to IP Address of Person Submitting Log-In Request
Note that if this is a configuration where you're behind an HTTP proxy, the HTTP proxy will be in the REMOTE_ADDR variable, though some proxies will include an additional client header X-Forwarded-For that contains the IP address of the client of the proxy. So, changing your code to
$RMIP=$ENV{'HTTP_X_FORWARDED_FOR'} || $ENV{'REMOTE_ADDR'};
may allow you to gleam the information about the true client in most situations. It depends on the proxy.
Of course, this is assuming that your traffic is in fact originating from a proxy and there isn't another explanation for the behavior you're seeing.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: IP Address of Person Submitting Log-In Request
by tune (Curate) on Nov 08, 2001 at 02:13 UTC | |
by Unimatic1140 (Novice) on Nov 08, 2001 at 19:59 UTC | |
by DaWolf (Curate) on Nov 08, 2001 at 20:59 UTC | |
by Rex(Wrecks) (Curate) on Nov 09, 2001 at 06:23 UTC | |
by mnperez (Sexton) on Nov 08, 2001 at 23:13 UTC |