Anthony R Fletcher wrote:
> Using mod_perl2, is there a way of mapping a URI to a filename or
> directory.
> 
> I can get the root directory for the server and I can append the URI to
> it but this doesn't taking to account aliases, UserDir directives etc.. 
> 
> Any suggestions?

$r->filename()

http://perl.apache.org/docs/2.0/api/Apache2/RequestRec.html#C_filename_

--Geoff

Reply via email to