Re: Problem with Apache2::Connection::remote_ip

2014-02-10 Thread Steve Baldwin
FYI, following the Apache 2.4 API I found $r->useragent_ip gave me what I wanted. Steve On Mon, Feb 10, 2014 at 7:54 AM, Steve Baldwin wrote: > Thanks for that. Yes, it would appear that the versions of apache2 and > mod_perl 'bundled' with Ubuntu 13.10 are not exactly in sync and the > versio

Re: Problem with Apache2::Connection::remote_ip

2014-02-09 Thread Steve Baldwin
Thanks for that. Yes, it would appear that the versions of apache2 and mod_perl 'bundled' with Ubuntu 13.10 are not exactly in sync and the version of mod_perl (which is the latest on CPAN afaict) has not yet caught up with apache 2.4. I guess the Apache2::xxx modules are 'wafer thin' layers over

Re: Problem with Apache2::Connection::remote_ip

2014-02-09 Thread Jeff Trawick
On Sun, Feb 9, 2014 at 9:40 AM, Steve Hay wrote: > On 9 February 2014 05:49, Steve Baldwin wrote: > > Hi, > > > > Not sure what I'm doing wrong here. I'm just trying to get the client ip > > address in a PerlResponseHandler as follows: > > > > : > > use Apache2::Connection; > > : > > my $remo

Re: Problem with Apache2::Connection::remote_ip

2014-02-09 Thread Steve Hay
On 9 February 2014 05:49, Steve Baldwin wrote: > Hi, > > Not sure what I'm doing wrong here. I'm just trying to get the client ip > address in a PerlResponseHandler as follows: > > : > use Apache2::Connection; > : > my $remote_ip = $r->connection->remote_ip(); > : > > I get a runtime error as

Re: Problem with Apache2::Connection::remote_ip

2014-02-09 Thread André Warnier
Steve Baldwin wrote: Hi, Not sure what I'm doing wrong here. I'm just trying to get the client ip address in a PerlResponseHandler as follows: : use Apache2::Connection; : my $remote_ip = $r->connection->remote_ip(); : I get a runtime error as follows: [Sun Feb 09 16:44:22.499681 2014] [p

Problem with Apache2::Connection::remote_ip

2014-02-08 Thread Steve Baldwin
Hi, Not sure what I'm doing wrong here. I'm just trying to get the client ip address in a PerlResponseHandler as follows: : use Apache2::Connection; : my $remote_ip = $r->connection->remote_ip(); : I get a runtime error as follows: [Sun Feb 09 16:44:22.499681 2014] [perl:error] [pid 3632] [