Re: Logging to apache from perl

2001-01-30 Thread Erdmut Pfeifer
On Wed, Jan 31, 2001 at 01:18:45AM +, harilaos wrote: > Hello, > thanks for the code below. I have put the following into access.conf > > PerlAuthenHandler Apache::SillyAuthen; > > I copied your code into my modules Apache directory. > and in cgi-bin i have a script to print all environment

Re: Logging to apache from perl

2001-01-30 Thread harilaos
Hello, thanks for the code below. I have put the following into access.conf PerlAuthenHandler Apache::SillyAuthen; I copied your code into my modules Apache directory. and in cgi-bin i have a script to print all environment variables but $remote_user=$ENV{'REMOTE_USER'}; is empty. am i doing an

Re: Logging to apache from perl

2001-01-30 Thread Christian Gilmore
Sure, you could do this, but it sounds horribly insecure... In httpd.conf: PerlAuthenHandler MyAuthHandler 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 wonderin

Re: Logging to apache from perl

2001-01-30 Thread darren chamberlain
harilaos ([EMAIL PROTECTED]) said something to this effect on 01/30/2001: > 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. You wan

Logging to apache from perl

2001-01-30 Thread harilaos
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 apa