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