Re: Authorization without Authentication?

=?windows-1256?Q?Andr=E9_Warnier?= <[email protected]>
Newsgroups gmane.comp.apache.mod-perl
Message-ID <[email protected]>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.