perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Aaron Dalton <aa...@daltons.ca>
Subject Re: Basic Auth
Date Wed, 05 Sep 2007 15:31:19 GMT
Michael Peters wrote:
> Aaron Dalton wrote:
>> I have done some Googling, but can't seem to find an answer to what
>> appears to me to be a pretty straightforward question.  I am running
>> Apache 2.2.4 with SSL and mod_perl.  I have a virtual host protected by
>> Basic Auth.  That host is managed by a home-rolled, mod_perl handler.  I
>> want my handler to have access to the username provided when the user
>> authenticated.  I thought what I wanted was $r->get_remote_logname(),
>> but that's not working.  How do I obtain this information?
> 
> use Apache::RequestRec;
> $r->user;
> 
> http://perl.apache.org/docs/2.0/api/Apache2/RequestRec.html#C_user_
> 
> 

*sighs*  I knew it had to be something simple.  I really did search too.
 Thanks for your help...and your patience :)

-- 
Aaron Dalton       |   Super Duper Games
aaron@daltons.ca   |   http://superdupergames.org

Mime
View raw message