Jeff Sheffield ([EMAIL PROTECTED]) said something to this effect on 12/18/2000:
here is a portion of my conf file.
--
Location /websites/foo.net/htdocs/
AuthName "foo"
AuthType Basic
*snip*
Are you sure you want a Location here? This looks
Essentially I want to do this.
Unset PerlAuthenHandler
Try:
LocationMatch /websites/foo.net/htdocs/passwd_forgoten/
PerlInitHandler "sub {$_[0]-set_handlers(PerlAuthenHandler=undef);}"
/LocationMatch
I think this should be: ... set_handlers(PerlAuthenHandler = [\OK]);
--
Eric
Removes all PerlAuthenHandlers:
LocationMatch /websites/foo.net/htdocs/passwd_forgoten/
PerlInitHandler "sub
{$_[0]-set_handlers(PerlAuthenHandler=undef);}"
/LocationMatch
Creates a single PerlAuthenHandler whose sole function is to return OK.
I think this should be: ...
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 files
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