Am Mittwoch, den 08.10.2008, 10:06 -0700 schrieb Fred Moyer:
You could also do something like:
if (my $ip = $r-headers_in-{'X-Forwarded-For'}) {
$r-connection-remote_ip( $ip );
}
But (as I learned the hard way long ago) you should check the value of
the X-Forwarded-For header: On
cfaust-dougot wrote:
Folks,
I'm guessing this has been answered but I couldn't find it.
We need to do some IP checking and need to support it on both a load
balanced environment and in a dedicated machine setup.
In the load balanced situation $r-connection-remote_ip returns 1 - Is
that
Folks,
I'm guessing this has been answered but I couldn't find it.
We need to do some IP checking and need to support it on both a load balanced
environment and in a dedicated machine setup.
In the load balanced situation $r-connection-remote_ip returns 1 - Is that
correct and consistent