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/StateManager.pm 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