Mark jensen wrote:
Thanks I guess your answer will work for me if I have only static IPs but what I have suggested is an example, my DB or DNS zone is changing dynamically, can mod_perl deal with them as a DB?
sub Handler {
my $r = shift;
my $c = $r->connection;
my $user = $c->remote_ip;
$r->user($user);
return OK;
}
References :
https://perl.apache.org/docs/2.0/api/Apache2/Connection.html
https://perl.apache.org/docs/2.0/api/Apache2/RequestRec.html

Reply via email to