[prev in list] [next in list] [prev in thread] [next in thread] 

List:       apache-modperl
Subject:    Re: mapping URI to filename.
From:       Anthony R Fletcher <arif () mail ! nih ! gov>
Date:       2008-08-19 15:19:44
Message-ID: 20080819151944.GA3841 () cosy ! cit ! nih ! gov
[Download RAW message or body]

Perfect. Thank you.

		Anthony

On 19 Aug 2008 at 09:53:03, Geoffrey Young wrote:
> 
> 
> Anthony R Fletcher wrote:
> > Thanks but that only works for the current request. I was looking for a
> > way of translating some other URI to a pathname on the same server.
> 
> $r->lookup_uri('/some/uri')->filename()
> 
> http://perl.apache.org/docs/2.0/api/Apache2/SubRequest.html#C_lookup_uri_
> 
> --Geoff

-- 
Anthony R Fletcher        
  Room 2033, Building 12A,        http://dcb.cit.nih.gov/~arif
  National Institutes of Health,  arif@mail.nih.gov
  12A South Drive, Bethesda,      Phone: (+1) 301 402 1741.
  MD 20892-5624, USA.
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic