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

Re: Problem with Apache2::Connection::remote_ip

2014-02-09 Thread Steve Baldwin
' perspective? I imagine there is quite a bit of code out there that depends on the old API. On Mon, Feb 10, 2014 at 6:01 AM, Jeff Trawick wrote: > On Sun, Feb 9, 2014 at 9:40 AM, Steve Hay wrote: > >> On 9 February 2014 05:49, Steve Baldwin wrote: >> > Hi, >> >

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 exac