I can't say that I understand what brought you to this (I had a hard time
understanding the problem you described in your first post - sorry).
see if http://marc.theaimsgroup.com/?l=apache-modperl&m=95677592829430&w=2
kinda sounds familiar - the end result was that code was being run that I
didn't explicitly ask for, which is what you seem to describe. No solutions
here, though...
if you are interested, you might want to prepare a PerlInitHandler that
undefs any PerlAuthzHandlers at the start of each request (if that's the
behavior you want) and see if that 'fixes' things for you. I ended up
setting nothing in my httpd.conf and using set_handlers() => undef and
push_handlers() to get what I wanted...
sorry to be of little more use that commiserating...
--Geoff
> -----Original Message-----
> From: Christian Gilmore [mailto:[EMAIL PROTECTED]]
> Sent: Monday, June 26, 2000 3:40 PM
> To: 'Geoffrey Young'
> Cc: [EMAIL PROTECTED]
> Subject: RE: set_handlers() bug?
>
>
> From: Geoffrey Young [mailto:[EMAIL PROTECTED]]
>
> > try $r->set_handlers(PerlAuthzHandler =>
> > ['Tivoli::Apache::AuthzCache', \&OK]);
> >
> > and you should see what you expect...
> >
> > I know calling it that way isn't in the eagle book, but it works. I
> > suppose, though, that we ought to stick to the official API
> > and only pass an arrayref consisting of coderefs...
>
> Hrm. Well, trying this did improve what I see via get_handlers, but it
> doesn't change the behavior of the system. Handlers that are
> supposedly
> removed are still called. I used:
>
> $r->set_handlers(PerlAuthzHandler =>
> ['Tivoli::Apache::AuthzCache']);
>
> The error_log contains the following. Note that there's only
> one handler,
> AuthzCache, listed via get_handlers in the "Post" section yet
> AuthzLDAP
> still runs.
>
> [Mon Jun 26 14:34:09 2000] [debug]
> /opt/apache/dw3.tivoli.com/81/lib/perl/Tivoli/Apache/AuthzCach
> e.pm(127):
> [client 146.84.34.143] handler: user in cache and groups Web
> Development
> Team and Web Development Team match; returning OK and clearing
> PerlAuthzHandler
> [Mon Jun 26 14:34:09 2000] [debug]
> /opt/apache/dw3.tivoli.com/81/lib/perl/Tivoli/Apache/AuthzCach
> e.pm(132):
> [client 146.84.34.143] handler: (Pre) PerlAuthzHandler
> Tivoli::Apache::AuthzCache::handler next in line
> [Mon Jun 26 14:34:09 2000] [debug]
> /opt/apache/dw3.tivoli.com/81/lib/perl/Tivoli/Apache/AuthzCach
> e.pm(132):
> [client 146.84.34.143] handler: (Pre) PerlAuthzHandler
> Tivoli::Apache::AuthzLDAP next in line
> [Mon Jun 26 14:34:09 2000] [debug]
> /opt/apache/dw3.tivoli.com/81/lib/perl/Tivoli/Apache/AuthzCach
> e.pm(132):
> [client 146.84.34.143] handler: (Pre) PerlAuthzHandler
> Tivoli::Apache::AuthzCache::manage_cache next in line
> [Mon Jun 26 14:34:09 2000] [debug]
> /opt/apache/dw3.tivoli.com/81/lib/perl/Tivoli/Apache/AuthzCach
> e.pm(140):
> [client 146.84.34.143] handler: (Post) PerlAuthzHandler
> Tivoli::Apache::AuthzCache next in line
> [Mon Jun 26 14:34:09 2000] [debug]
> /opt/apache/dw3.tivoli.com/81/lib/perl/Tivoli/Apache/AuthzLDAP
> .pm(136):
> [client 146.84.34.143] AuthzBaseDN=o=Tivoli Systems,
> LDAPServer=widow.dev.tivoli.com, MemberAttr=member, ResetRemoteUser=,
> NestedGroups=Off
>
> Christian
>