Re: trouble with using $r-lookup_uri()

2003-06-03 Thread Ryan Muldoon
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 will

RE: trouble with using $r-lookup_uri()

2003-06-02 Thread Frank Maas
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 quoted

Re: trouble with using $r-lookup_uri()

2003-05-31 Thread Aaron Ross
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