Adam Prime wrote:
>> I'm trying to find the class/ method which allows me to get the physical
>> path base on the uri. Something similar to Server.MapPath('/index.htm')
>> in ASP.NET.
>>
>> Any advise is appreciated. Thanks.
> 
> $r->document_root . $r->uri
Thanks for replying. In my case it's a wee bit more complicated (forgot
to mention).

Thing is, I have alias-ed a path (eg. alias /thisuri c:/wwwroot) in the
web server, so $r->uri may not point to the right location.

Is there a generic method so that given any uri as a parameter, the
library can do the math and return the physical path?

Reply via email to