Re: trouble with path_info

2001-02-13 Thread Pierre Phaneuf
Pierre Phaneuf wrote: Does anyone has an idea about this? I think I have proper behavior from my perl handler by installing it at the root of the server, but this is no real solution! What I am doing wrong here??? I'm really stumped with that one. How come Apache::Registry gets the right

Re: trouble with path_info

2001-02-13 Thread Matt Sergeant
On Tue, 13 Feb 2001, Pierre Phaneuf wrote: Pierre Phaneuf wrote: Does anyone has an idea about this? I think I have proper behavior from my perl handler by installing it at the root of the server, but this is no real solution! What I am doing wrong here??? I'm really stumped with

Re: trouble with path_info

2001-02-13 Thread Tom Brown
On Tue, 13 Feb 2001, Pierre Phaneuf wrote: Pierre Phaneuf wrote: Does anyone has an idea about this? I think I have proper behavior from my perl handler by installing it at the root of the server, but this is no real solution! What I am doing wrong here??? I'm really stumped with

Re: trouble with path_info

2001-02-13 Thread Pierre Phaneuf
Matt Sergeant wrote: Does anyone has an idea about this? I think I have proper behavior from my perl handler by installing it at the root of the server, but this is no real solution! What I am doing wrong here??? I'm really stumped with that one. How come Apache::Registry gets the

Re: trouble with path_info

2001-02-13 Thread Matt Sergeant
On Tue, 13 Feb 2001, Pierre Phaneuf wrote: Matt Sergeant wrote: Does anyone has an idea about this? I think I have proper behavior from my perl handler by installing it at the root of the server, but this is no real solution! What I am doing wrong here??? I'm really

Re: trouble with path_info

2001-02-13 Thread Pierre Phaneuf
Matt Sergeant wrote: That would make the Apache::TreeBrowser example in the eagle book wrong, isn't it? Yes, that example seems incorrect to me. Hmm... Strange... It actually *works* at http://modperl.com/tree/ and I downloaded its source code from http://modperl.com/book/source/! Doug,

Re: trouble with path_info

2001-02-13 Thread Pierre Phaneuf
Matt Sergeant wrote: I'm really stumped with that one. How come Apache::Registry gets the right information and I don't??? I tried doing the exact same thing, to no avail. Because Apache::Registry has a real file, so the fixup handler puts the right thing in path_info. Without a

Re: trouble with path_info

2001-02-13 Thread Matt Sergeant
On Tue, 13 Feb 2001, Pierre Phaneuf wrote: Matt Sergeant wrote: That would make the Apache::TreeBrowser example in the eagle book wrong, isn't it? Yes, that example seems incorrect to me. Hmm... Strange... It actually *works* at http://modperl.com/tree/ and I downloaded its

Re: trouble with path_info

2001-02-13 Thread Pierre Phaneuf
Matt Sergeant wrote: Hmm... Strange... It actually *works* at http://modperl.com/tree/ and I downloaded its source code from http://modperl.com/book/source/! Right, but the directory /tree might exist on their server - you never know... I found the visible trigger. I didn't have a

Re: trouble with path_info

2001-02-13 Thread Matt Sergeant
On Tue, 13 Feb 2001, Pierre Phaneuf wrote: Now, I do not completely understand this. Am I right when I say that nothing on the filesystem is needed to locate a Location handler? IMHO, a Location handler should be able to get its path_info resolved without any filesystem access (thus, without

Re: trouble with path_info

2001-02-13 Thread Pierre Phaneuf
Matt Sergeant wrote: Well you should read how Apache works. See http://httpd.apache.org/docs/sections.html It should clear things up for you. Thank you, very interesting! -- Pierre Phaneuf http://www3.sympatico.ca/pphaneuf/

RE: trouble with path_info

2001-02-12 Thread Geoffrey Young
-Original Message- From: Pierre Phaneuf [mailto:[EMAIL PROTECTED]] Sent: Monday, February 12, 2001 9:35 AM To: [EMAIL PROTECTED] Subject: trouble with path_info I spent two days trying to make my "virtual document" PerlHandler work from various locations, which I had

Re: trouble with path_info

2001-02-12 Thread Pierre Phaneuf
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

Re: trouble with path_info

2001-02-12 Thread darren chamberlain
Pierre Phaneuf ([EMAIL PROTECTED]) said something to this effect on 02/12/2001: 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

Re: trouble with path_info

2001-02-12 Thread Pierre Phaneuf
darren chamberlain wrote: In just about every cases that I could do, I have $r-path_info identical to $r-uri! If you are installing your handler as such: Location / SetHandler perl-script PerlHandler My::Package /Location Then what you are seeing is correct. What does

Re: trouble with path_info

2001-02-12 Thread Pierre Phaneuf
Pierre Phaneuf wrote: Then what you are seeing is correct. What does the relevent httpd.conf snippet look like? Just like in the eagle book (page 143): Location /virtual SetHandler perl-script PerlHandler Apache::TreeBrowser /Location And I'm totally unable to get what you see on