john Brahy wrote: > Is there a way to set that information from mod_perl? > > I have written my own authentication system but I want to pass the username > to the logs to replace the - - or unknown - that's happening now. I've > looked in the white tailed eagle book but didn't see it. > > > Mod_perl 1.29 / apache 1.3.27
see recipe 13.4 in the mod_perl developer's cookbook for ways to set the password http://www.modperlcookbook.org/chapters/ch13.pdf I'm not sure which field the second - corresponds to, but if you've written your own authentication scheme it looks like you forgot to set $r->user - authentication handlers are expected to set $r->user and $r->connection->auth_type. see recipes 13.7 and 13.8 as well. HTH --Geoff -- Report problems: http://perl.apache.org/bugs/ Mail list info: http://perl.apache.org/maillist/modperl.html List etiquette: http://perl.apache.org/maillist/email-etiquette.html