I haven't tested the newest mod_perl yet, but I know that this is
going to be an issue for me too because I have a number of projects
that rely on the value provided by $r->connection->remote_addr->port
(along with $r->connection->remote_addr->remote_ip as well).
If there's a diffe
Replying to self..
My basic question remains the same :
given that neither of the following seem to work under Apache 2.4 / mod_perl
2.0.9 :
$remote_port = $r->connection->client_addr->port;
or
$remote_port = $r->connection->remote_addr->port;
how could I best obtain, in a mod_perl AAA handler
On 30.10.2016 01:56, Randolf Richardson wrote:
Do the following work for you?
$r->connection->remote_addr->port
$r->connection->local_addr->port
I'll check again, but $c->remote_addr is supposed to not exist anymore in httpd 2.4, as
far as I know.
Ind