Aaron,
It looks like this did the trickmy module doesn't quite work yet,
but it isn't segfaulting anymore. Thanks!
--Ryan
On Fri, 2003-05-30 at 22:24, Aaron Ross wrote:
> > my $uri = $r->uri;
> > my $subr = $r->lookup_uri($uri);
>
> Is this recursing? the subrequest
> I'm trying to write a authentication handler using mod_perl, and am
> encountering some difficulty. I have isolated my problem to the usage
> of the lookup_uri($uri) function call - whenever I call it, my module
> segfaults. I have tested the input with both a variable string, and
> just a quot
> my $uri = $r->uri;
> my $subr = $r->lookup_uri($uri);
Is this recursing? the subrequest will run all phases but the content
handler, so
i would think you'll need to add
return unless $r->is_main();
or something like it at the beginning of the routine.
-- Aaron