Geoffrey Young wrote:
So what should we do about it?

I suppose we could make it get/set at startup time


perhaps, but most people have asked for writability at request time, not
startup time.


and get/set at all
times for non-threaded mpms and only get for threaded mpms, like we did
with a few other struct accessors (to see those run):

grep -Ir '\$' xs/maps/

it sounds like document_root falls into the same group as all the
accessors above. Or doesn't it?


I don't ever claim to understand threads, but if there is a mechanism in
place to have ro for threaded mpms and rw for prefork then I think that's a
good way to go at the moment.

Right, but before that I think what needs to be checked is mod_userdir, since it's supposed to somehow let the other parts of Apache know of a different document root.


I think the idea we had before is to extend $r to have a private entry of document_root, so it can be per-request. Of course that mod_perl-specific entry will be visible only to mod_perl modules.


-- __________________________________________________________________ Stas Bekman JAm_pH ------> Just Another mod_perl Hacker http://stason.org/ mod_perl Guide ---> http://perl.apache.org mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com http://modperlbook.org http://apache.org http://ticketmaster.com

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to