Geoffrey Young wrote:

> > I spent two days trying to make my "virtual document" PerlHandler work
> > from various locations, which I had thought to be really
> > easy, by simply
> > looking at the path_info to determine what virtual document
> > to bring up.
> >
> > No go.
> >
> > In just about every cases that I could do, I have $r->path_info
> > identical to $r->uri!
> >
> 
> you may want to check out this thread:
> 
> http://marc.theaimsgroup.com/?t=97904728600005&w=2&r=1
> 
> and $r->location()

Actually, I want to do the exact *inverse* than this guy! :-)

But I agree that stripping off $r->location() from $r->uri() would give
something workable, and that's what I have been doing, but the thing is
that $r->path_info() should *already* work, and none of this should be
needed!

Apache::TreeBrowser *doesn't work* here, because of this problem, for
example. I could put that $r->location() workaround in it, but it would
be just that, a workaround, because on Doug's web server, it works.

-- 
Pierre Phaneuf
http://www3.sympatico.ca/pphaneuf/

Reply via email to