perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From André Warnier ...@ice-sa.com>
Subject Re: Authorization without Authentication?
Date Sun, 03 Aug 2014 15:12:55 GMT
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


Mime
View raw message