On Mon, 20 May 2002, Geoffrey Young wrote:
>
>
> Todd Chapman wrote:
>
> > That makes sense. I can't use mod_auth because I can't set Require.
>
>
> well, if you're saying that you don't have the ability to set the Require directive
>at all
> (as in you don't have access to edit httpd.c
That makes sense. I can't use mod_auth because I can't set Require. I'm
using Basic authentication and text based password files. Unfortunately, I
can't find an Apache::Auth* module that handles basic authentication
against text files. Did I miss it somewhere?
Thanks.
-Todd
On Mon, 20 May 2002
I need to decide who has access based on the URI. I guess this means I
can't use Apache's Basic auth module, since I can't dynamically set
require. Does the cookbook have a code sample of checking the password for
basic authentication?
-Todd
On Mon, 20 May 2002, Geoffrey Young wrote:
>
>
> T
EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Monday, May 20, 2002 6:50 AM
Subject: Re: Setting require in Authentication handler?
>
>
> Todd Chapman wrote:
>
> > That makes sense. I can't use mod_auth because I can't set Require.
>
>
> well, if you'
Todd Chapman wrote:
> That makes sense. I can't use mod_auth because I can't set Require.
well, if you're saying that you don't have the ability to set the Require directive at
all
(as in you don't have access to edit httpd.conf), then you can't run any
authentication
handler - mod_auth,
Todd Chapman wrote:
> I need to decide who has access based on the URI. I guess this means I
> can't use Apache's Basic auth module, since I can't dynamically set
> require.
as I was saying, go ahead and set the Require directive on the (or
whatever)
that you want to protect. if a URI co
Todd Chapman wrote:
> Can dir_config be used to set 'require' in an authentication handler?
no. dir_config() provides access to a mod_perl specific table of variables, not
generic
Apache configuration directives.
there is no API for setting the Require directive - it needs to be in your h
Can dir_config be used to set 'require' in an authentication handler?
I would then return DECLINED do that Apache's Basic auth handler would do
the heavy lifting of checking the password.
Thanks!
-Todd