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?

>From my readings of the Modules eagle book (such as pages 62-3 and 452-3)
and the Apache eagle book (such as page 271) and my own common sense, I'd
say it should be the former (same as the beginning of the parent). What
would you say?

Regards,
Christian

-----------------
Christian Gilmore
Infrastructure & Tools Team Lead
Web & Multimedia Development
Tivoli Systems, Inc.

Reply via email to