Le dimanche 13 avril 2014, 14:12:30 Neil Watson a écrit :
> Can I collect the username from apache (mod_proxy/htpasswd) for use in
> mojo?

That does the job:
my $remote_user = $self->tx->req->url->base->{'userinfo'};
$remote_user =~ s/([^:]+):.*$/$1/;
-- 
Luc
http://www.fiat-tux.fr/
Internet n'est pas compliqué, Internet est ce que vous en faites.

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to