> 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