Return-Path: Delivered-To: apmail-httpd-dev-archive@httpd.apache.org Received: (qmail 78387 invoked by uid 500); 12 Mar 2003 00:37:54 -0000 Mailing-List: contact dev-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: dev@httpd.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list dev@httpd.apache.org Received: (qmail 78374 invoked from network); 12 Mar 2003 00:37:53 -0000 Date: Tue, 11 Mar 2003 19:37:16 -0500 (EST) From: Cliff Woolley X-X-Sender: root@bistromath.cs.virginia.edu To: dev@httpd.apache.org Subject: Re: any way for a module to call (mod_access) int check_dir_access(request_rec* rec)? In-Reply-To: <3E6E7D98.6000804@nasa.gov> Message-ID: References: <3E6E7D98.6000804@nasa.gov> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N On Tue, 11 Mar 2003, Chris Knight wrote: > I am writing a module that would very much like to find out if a > particular user has access to a particular URI (not the URI that got to > my module). Is there any way through an inter-module framework or the > like to call this function from within my module? I'd rather not > formulate another HTTP request just to test this. Use a subrequest. See mod_autoindex for a (rather controversial ;-) example of this very thing. --Cliff