Skip Menu |

This queue is for tickets about the Apache-ASP CPAN distribution.

Report information
The Basics
Id: 107118
Status: open
Priority: 0/
Queue: Apache-ASP

Owner: Nobody in particular
Requestors: perlboy [...]

Bug Information
Severity: Important
Broken in: (no value)
Fixed in: (no value)

Download (untitled) / with headers
text/plain 550b
Hi, As the Apache mod_perl API has changed under Apache 2.4 the following error occurs: Can't locate object method "remote_ip" via package "Apache2::Connection" at /usr/local/share/perl5/Apache/ASP/ line 85 The fix is fairly simple: Change line 85: $self->{remote_ip} = $r->connection()->remote_ip(); To: if (defined $r->useragent_ip()) { $self->{remote_ip} = $r->useragent_ip(); } else { $self->{remote_ip} = $r->connection->remote_ip(); } Regards, Niels

This service is sponsored and maintained by Best Practical Solutions and runs on infrastructure.

Please report any issues with to