Sean T Allen wrote:
Tom...
I see a 'AuthenNTLM' patch.
but nothing specific to remote ip...
which patch am i looking for on that page?
Tom Schindl wrote:
Uups:
http://gossamer-threads.com/lists/modperl/modperl/74104?search_string=Report%20on%20mp2%20accessors%20in%20apache_structures.map;#74104
is
Sean T Allen wrote:
apache 2.0.52
mod_perl 1.99_17
perl 5.8.0
code in question:
package ProxyRemoteAddr;
use Apache::Const qw(OK);
use strict;
sub handler
{
my $r = shift;
return OK unless ( $r->connection->remote_ip eq '127.0.0.1' ) &&
$r->header_in( 'X-Forwarded-For' )
apache 2.0.52
mod_perl 1.99_17
perl 5.8.0
code in question:
package ProxyRemoteAddr;
use Apache::Const qw(OK);
use strict;
sub handler
{
my $r = shift;
return OK unless ( $r->connection->remote_ip eq '127.0.0.1' ) &&
$r->header_in( 'X-Forwarded-For' );
if ( my ( $ip )