Re: mp2 path_info oddness

[prev] [thread] [next] [Date index for 2004/12/23]

From: Geoffrey Young
Subject: Re: mp2 path_info oddness
Date: 15:17 on 23 Dec 2004

Nicholas Studt wrote:
> Using mod_perl 1.99_RC1 path_info seems to return the wrong path
> information when used with nested locations. 
> 
> Location1 /my/location
> Location2 /my/location/nested
> 
> When the second location is reached path_info reports as though it only
> knows about the first location. For example,
> if /my/location/nested/function shows up as /nested/function rather
> than /function as I would expect.
> 
> Is this a bug or am I misinterpreting what path_info should report?

path_info is one of those tricky things - it never seems to do what you
would expect it to, especially with nested configurations :)

path_info is a part of the request_rec structure and calculated by apache -
mod_perl merely makes the calculated value available to you.  so, whatever
difference you are seeing between mp1 and mp2 is really a difference in
apache 1.3 and apache 2.0 and there is not much mod_perl can do about it.

HTH

--Geoff

        -- 
        Report problems: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html
List etiquette: http://perl.apache.org/maillist/email-etiquette.html

mp2 path_info oddness
Nicholas Studt 14:56 on 23 Dec 2004

Re: mp2 path_info oddness
Geoffrey Young 15:17 on 23 Dec 2004

Generated at 12:16 on 16 Jan 2005 by mariachi v0.52