Sure, you could do this, but it sounds horribly insecure...
In httpd.conf:
<Location /secure>
PerlAuthenHandler MyAuthHandler
</Location>
In MyAuthHandler:
sub handler {
my $r = shift;
$r->connection->user('USERNAME');
return OK;
}
Regards,
Christian
On Tue, 30 Jan 2001, harilaos wrote:
> Hello,
> i was wondering if anyone could help me.
> I want to create a username and password when a user enters my site,
> then pass these values to apache to authenticate. Then i could
> have the REMOTE_USER variable available throught the users
> stay at my site. Is there a way to pass these values to apache
> without having to pop up the login window? Is the
> Apache::AuthAny module supposed to do this?
> My aim is to have the variable Remote_User available to my scripts
> without having to put the info in a login box.
>
> Thanks
>