Setting authentication via a PerlInitHandler?

2000-05-17 Thread darren chamberlain
Hi, all. I am trying to figure out a way to set a PerlAuthenHandler (using $r-push_handlers()) from a PerlInitHandler. Here is what I have so far: Location /test PerlInitHandler Test::Init /Location package Test::Init; sub handler { my $r = shift; # # First try: gave me

Re: Setting authentication via a PerlInitHandler?

2000-05-17 Thread darren chamberlain
I am trying to figure out a way to set a PerlAuthenHandler (using $r-push_handlers()) from a PerlInitHandler. Follo-wup with more info. here is my auth sub: sub auth { my $r = shift; print STDERR Data::Dumper-Dump( [$r], ['Apache']); print STDERR "in auth handler\n" return

RE: Setting authentication via a PerlInitHandler?

2000-05-17 Thread Geoffrey Young
be better off pushing an Access handler? Or setting up everything for Authen? HTH --Geoff -Original Message- From: darren chamberlain [mailto:[EMAIL PROTECTED]] Sent: Wednesday, May 17, 2000 11:48 AM To: [EMAIL PROTECTED] Subject: Re: Setting authentication via a PerlInitHandler

Re: Setting authentication via a PerlInitHandler?

2000-05-17 Thread Doug MacEachern
On Wed, 17 May 2000, darren chamberlain wrote: Hi, all. I am trying to figure out a way to set a PerlAuthenHandler (using $r-push_handlers()) from a PerlInitHandler. #$r-auth_type('Basic'); try $r-connection-auth_type('Basic'); i can't recall if that works quite right either.