RE: finding real path to same server uri's
On Monday, October 11, 1999 6:33 AM, Rick Myers [SMTP:[EMAIL PROTECTED]] wrote: > To make a long story short, is there a way in mod_perl to do something > like... > > $r->real_path( 'http://some.virtual.domain/whatever/page/there.is' ) > > The cut-to-the-chase version is, I need to know the filename of a > referer page originating on this server. (Yes, there are virtuals > involved, and yes there are numerous aliases.) How 'bout: $r->lookup_uri('http://whatever/')->filename > Rick Myers[EMAIL PROTECTED] -- Eric
finding real path to same server uri's
To make a long story short, is there a way in mod_perl to do something like... $r->real_path( 'http://some.virtual.domain/whatever/page/there.is' ) The cut-to-the-chase version is, I need to know the filename of a referer page originating on this server. (Yes, there are virtuals involved, and yes there are numerous aliases.) Rick Myers[EMAIL PROTECTED] The Feynman Problem 1) Write down the problem. Solving Algorithm 2) Think real hard. 3) Write down the answer.