On Wed 30 Sep 2009, Bernhard Janetzki wrote:
> Hello together,
> i'm trying basic authentication via
>
> ## apache2 config:
>
> SetHandler perl-script
> PerlAuthenHandler DataExchange::AuthHandler
> #PerlResponseHandler ModPerl::Registry
>
I believe what you want is:
# To set the variable so that CGI scripts can access $ENV{'REMOTE_USER'}
# which is normally populated by Basic-Auth (this is only if you want to
# take control over the variable... populating it yourself)
#
$r->subprocess_env(REMOTE_USER => $user);
# To get the variab
Hello together,
i'm trying basic authentication via
## apache2 config:
SetHandler perl-script
PerlAuthenHandler DataExchange::AuthHandler
#PerlResponseHandler ModPerl::Registry
Options +ExecCGI
PerlOptions +GlobalReques