questions on $r-lookup_uri
1 - Why was no documentation for this method found in the manpage for Apache::Request? Where should I have looked for docs on this? 2 - I did manage to find some docs for this in Ch. 4 of the Stein/Maceachern book, but am wondering why lookup_uri() goes through all phases of request processing up to but not including the content handler. It would seem that looking up a URI would only need to go through the URI translation phase of the subrequest to lookup a URI.
Re: questions on $r-lookup_uri
1 - Why was no documentation for this method found in the manpage for Apache::Request? Where should I have looked for docs on this? perldoc Apache There are some Apache API docs on ap_sub_req_lookup_uri here: http://httpd.apache.org/docs/misc/API.html#req_orig Though they may not help much in your situation, as they indicate that each sub-request function constructs a new request_rec structure and processes it as you would expect. :) 2 - I did manage to find some docs for this in Ch. 4 of the Stein/Maceachern book, but am wondering why lookup_uri() goes through all phases of request processing up to but not including the content handler. It would seem that looking up a URI would only need to go through the URI translation phase of the subrequest to lookup a URI. From 'perldoc Apache': Apache provides a sub-request mechanism to lookup a uri or filename, performing all access checks, etc., without actually running the response phase of the given request. So presumably it is important that sub-requests get run through standard authentication/authorization/access checks for that particular URI. Among other things. bye, Ben
RE: questions on $r-lookup_uri
-Original Message- From: princepawn To: [EMAIL PROTECTED] Sent: 8/26/01 1:29 PM Subject: questions on $r-lookup_uri 1 - Why was no documentation for this method found in the manpage for Apache::Request? Where should I have looked for docs on this? man Apache 2 - I did manage to find some docs for this in Ch. 4 of the Stein/Maceachern book, but am wondering why lookup_uri() goes through all phases of request processing up to but not including the content handler. It would seem that looking up a URI would only need to go through the URI translation phase of the subrequest to lookup a URI. what if you don't have permission to access the resource? subrequests have a number of uses besides determining 404, such as 403, or $sub-content_type... HTH --Geoff