No I tried that (sorry I should have said so). I think:
<Perl>
$Location{"blah"} = {
require => ["group payer_manager", "payer_group demo"]
};
</Perl>
is equivalent to:
<Location "blah">
require group payer_manager payer_group demo
</Location>
but I'm not sure. In any case, it doesn't work. Maybe I'll have a looksee at
the source code.
-Adi
Tom Lancaster wrote:
>
> I think require => ["group payer_manager", "payer_group demo"] should do it.
>
> On Fri, Nov 17, 2000 at 01:11:09PM -0500, Adi Fairbank wrote:
> > Say I have a $Directory{} configuration in a <Perl> section like so:
> >
> > $Directory{"/home/httpd/html-ssl/demo"} = {
> > SetHandler => "perl-script",
> > PerlAuthenHandler => "Authen",
> > PerlAuthzHandler => "Authz",
> > require => "group payer_manager",
> > require => "payer_group demo",
> > };
> >
> > Obviously this won't work because the second "require => " directive will
> > clobber the first. So what's the workaround? I couldn't think of what the
> > logical perl translation to having two require directives would be...
> >
> > -Adi
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
>
> --
> Tom Lancaster Red Hat, Inc.
> Web Engineer (415) 777-9810 x 228
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]