RE: Unset PerlAuthenHandler (I wish)

2000-12-20 Thread Christian Gilmore
Jeff, The directory you want unprotected should be as follows: PerlAuthHandler Apache::OK PerlAuthzHandlerApache::OK Regards, Christian > -Original Message- > From: Jeff Sheffield [mailto:[EMAIL PROTECTED]] > Sent: Monday, December 18, 2000 4:54 PM > To: [EMAIL PROTECTED] > S

RE: Unset PerlAuthenHandler (I wish)

2000-12-19 Thread Chris Strom
Removes all PerlAuthenHandlers: > > > > PerlInitHandler "sub > {$_[0]->set_handlers(PerlAuthenHandler=>undef);}" > > Creates a single PerlAuthenHandler whose sole function is to return OK. > I think this should be: ... set_handlers(PerlAuthenHandler => [\&OK]); Both work, but why set up

Re: Unset PerlAuthenHandler (I wish)

2000-12-19 Thread Eric Cholet
> > Essentially I want to do this. > > Unset PerlAuthenHandler > > Try: > > > PerlInitHandler "sub {$_[0]->set_handlers(PerlAuthenHandler=>undef);}" > I think this should be: ... set_handlers(PerlAuthenHandler => [\&OK]); -- Eric

RE: Unset PerlAuthenHandler (I wish)

2000-12-19 Thread Chris Strom
> Essentially I want to do this. > Unset PerlAuthenHandler Try: PerlInitHandler "sub {$_[0]->set_handlers(PerlAuthenHandler=>undef);}" > >SetHandler default-handler > This would only work if you had used the SetHandler directive to set perl-script as the handler. Hope that helps

Re: Unset PerlAuthenHandler (I wish)

2000-12-19 Thread darren chamberlain
Jeff Sheffield ([EMAIL PROTECTED]) said something to this effect on 12/18/2000: > here is a portion of my conf file. > -- > > > AuthName "foo" > AuthType Basic *snip* Are you sure you want a here? This looks like it should be a section... (da

RE: Unset PerlAuthenHandler (I wish)

2000-12-18 Thread Jesse Erlbaum
Hey Jeff -- For that same situation, I've rolled my own Authz handler which provides a "require nothing" directive. In my Authz handlers, if you put "require nothing" in your .htaccess file, all requests will be Authorized. This is essential for things like the login screen, etc. Rolling your

Re: Unset PerlAuthenHandler (I wish)

2000-12-18 Thread Jim Winstead
On Dec 18, Jeff Sheffield wrote: > Ok, essentially I want all but one directory on the > server to be password protected. > I want 1 directory to have the "I forgot my password" > functionality. > > I am using Mason. > and setting SetHandler default-handler has undesired results. > i.e. mason