Thanks for the suggestion, but what i really want to know is why is the
request object passed if I call the module directly from http.conf and not
when I use the push handlers method? Are the two methods not functionally
equivalent?  Everything works fine when the handler is set in httpd.conf.

Mike

Geoffrey Young wrote:

> > -----Original Message-----
> > From: Mike Cameron [mailto:[EMAIL PROTECTED]]
> > Sent: Sunday, March 04, 2001 11:59 PM
> > Cc: modperl
> > Subject: push_handlers question
> >
> >
> > I am trying to sub class Apache::AuthCookieURL and would like to use
> > $r->push_handlers(PerlAuthenHandler => My::Class->authenticate);
> > the push_handler is set in a handler called from httpd.conf on the
> > PerlInitHandler phase but the authenticate routine does not
> > seem to be getting
> > the apache request object passed to it as I get a can't call
> > dir_config on an
> > udefined value error.
>
> my $r = Apache->request;
>
> HTH
>
> --Geoff
>
> >
> > I'm sure I am missing something simple but can someone point
> > it out to me.
> >
> > Thanks
> >

Reply via email to