perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Geoffrey Young <ge...@modperlcookbook.org>
Subject Re: Module mod_log_config and custom Auth
Date Mon, 03 Oct 2005 16:47:48 GMT
Martin Moss wrote:
> All,
> 
> I'm looking to ensure that an Authenticated user's
> username is logged in our logfiles, along with a
> cookie string..  I've had a quick look through google
> and I'm currently finding that I should use %u for
> username, but this is appearing blank... What do I
> need to set in my Custome Authentication Handler to
> ensure the username gets recorded...

well, if you're using a custom authentication handler then you need to 
set $r->user to whatever username you authenticated.  there are other 
things you need to do as well, but that should solve your immeditate 
problem.

HTH

--Geoff

Mime
View raw message