You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by Christian Gilmore <Ch...@tivoli.com> on 2000/07/27 18:33:41 UTC

lookup_uri() / lookup_file() behavior

I'm trying to determine what the proper behavior for lookup_uri() /
lookup_file() should be. This call creates a subrequest that appears as if
it is a new one up until the content handler phase. From the eagle book,
pages 452-3:

        lookup_file() and lookup_uri() invoke Apache
        subrequests. A subrequest is treated exactly
        like an ordinary request, except that the post
        read request ... [is] not run... lookup_uri()
        performs the URI translation on the provided
        URI, passing the request to the access control
        and authorization handlers, if any...

Should the subrequest have the same stack of handlers and environment with
which the parent request began or should it have the same stack and
environment at the time the parent request launched the subrequest?