Re: PerlTransHandler, PerlHanlder and document_root

2003-10-19 Thread Geoffrey Young
simran wrote: Further to my previous email (as below), i have noticed that if i set the document_root to something that does not exist (eg. "/blahblah") - then in the PerlCleanupHandler, the document root (before reset) is set to "/blahblah" - if i had set it to something that existed, then was i

RE: PerlTransHandler, PerlHanlder and document_root

2003-10-19 Thread simran
Further to my previous email (as below), i have noticed that if i set the document_root to something that does not exist (eg. "/blahblah") - then in the PerlCleanupHandler, the document root (before reset) is set to "/blahblah" - if i had set it to something that existed, then was i set it to is n

RE: PerlTransHandler, PerlHanlder and document_root

2003-10-19 Thread simran
Thanks Frank, On Fri, 2003-10-17 at 22:12, Frank Maas wrote: > >> Can it be that a subrequest (issued (by chance?) to the same child) > >> is messing things up? You might try adding a warn to the > >> CleanupHandler. > > > > I guess it could be... what should i be logging for in the > > CleanupH

RE: PerlTransHandler, PerlHanlder and document_root

2003-10-17 Thread Frank Maas
> Hi Frank, [...] >> Can it be that a subrequest (issued (by chance?) to the same child) >> is messing things up? You might try adding a warn to the >> CleanupHandler. > > I guess it could be... what should i be logging for in the > CleanupHandler? (aka, what should i print to see if its a subrequ

RE: PerlTransHandler, PerlHanlder and document_root

2003-10-17 Thread simran
Hi Frank, On Fri, 2003-10-17 at 18:21, Frank Maas wrote: > Simran, > > Just trying: > > GH> however, any changes made to $r->document_root > GH> would persist for the entire life of the child, not just the life of > GH> the current request. for that reason, you were expected to always > GH> res

RE: PerlTransHandler, PerlHanlder and document_root

2003-10-17 Thread Frank Maas
Simran, Just trying: GH> however, any changes made to $r->document_root GH> would persist for the entire life of the child, not just the life of GH> the current request. for that reason, you were expected to always GH> restore the value of $r->document_root to its original state. GH> GH> see re

Re: PerlTransHandler, PerlHanlder and document_root

2003-10-16 Thread simran
On Fri, 2003-10-17 at 13:07, Geoffrey Young wrote: > simran wrote: > > Hi All, > > > > I have a PerlTransHandler where i am doing something to the effect of: > > > > my $request = instance Apache::Request(shift); > > $request->document_root("/home/testuser/www"); > > $request->pnotes

Re: PerlTransHandler, PerlHanlder and document_root

2003-10-16 Thread Geoffrey Young
simran wrote: Hi All, I have a PerlTransHandler where i am doing something to the effect of: my $request = instance Apache::Request(shift); $request->document_root("/home/testuser/www"); $request->pnotes("test_key" => "test_value"); warn "Set document root to /home/testuser/www

PerlTransHandler, PerlHanlder and document_root

2003-10-16 Thread simran
Hi All, I have a PerlTransHandler where i am doing something to the effect of: my $request = instance Apache::Request(shift); $request->document_root("/home/testuser/www"); $request->pnotes("test_key" => "test_value"); warn "Set document root to /home/testuser/www\n"; Then later