Apache 1.3.28, MP 1.29, Perl 5.8.0
I'm having a problem with $r being different between request phases of the same request. Specifically, $r->pnotes() is missing a parameter that is packed into it by an earlier handler. Here's the setup:
In virtual host context:
PerlInitHandler - Does some processing and sets an item in $r->pnotes(). $r comes directly from handler()'s first arg.
PerlAccessHandler - Does some access processing and uses variable from $r->pnotes().
In Location context at /app PerlHandler - Uses $r with no problems.
In this scenario it works fine. The application at '/app' gets the variables from the previous two request phases.
I also have a PerlHandler in a Files context (handling all files with a specific extension). None of these files are within /app so there's no collision with the PerlHandler or conf merging problems. The $r->pnotes() table in this handler is always empty. The problem is reproducible always.
All handlers get $r from shifting off args from handler() (none of them use Apache->request()). Is there some reason why $r would turn up different? I've done similar things before and haven't had a problem. I'm quite sure it's a minor oversight on my part.
TIA and any help is appreciated. -- Eric Sammer [EMAIL PROTECTED] http://www.ineoconcepts.com
-- Reporting bugs: http://perl.apache.org/bugs/ Mail list info: http://perl.apache.org/maillist/modperl.html