httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From André Malo>
Subject Re: any way for a module to call (mod_access) int check_dir_access(request_rec* rec)?
Date Wed, 12 Mar 2003 00:43:59 GMT
* 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.
> If you must know why, I'm working on a mod_dav submodule and we'd like
> to not display information in PROPFIND that the user shouldn't be able
> to read via any other method.

I'd guess, you can use a subrequest to find out the desired information (by 
checking rr->status).

package Hacker::Perl::Another::Just;print
qq~@{[reverse split/::/ =>__PACKAGE__]}~;

#  André Malo  #  #

View raw message