ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> perl-mod_perl
perl-mod_perl
Re: mapping URI to filename.
by Geoffrey Young other posts by this author
Aug 19 2008 6:53AM messages near this date
Re: mapping URI to filename. | Re: mapping URI to filename.
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
Thread:
Anthony R Fletcher
Geoffrey Young
Anthony R Fletcher
Geoffrey Young
Anthony R Fletcher

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved