On Fri, 31 Dec 2004, Nick Kew wrote:
> On Thu, 30 Dec 2004, Paul Querna wrote:
>
> > > Just sets the root server's docroot then now.  Not being able able to
> > > manipulate the document_root is a rather severe limitation as far as I am
> > > concerned.
> >
> > I agree. But to fix it properly, we need a different system for doing
> > configuration stuff. The current system is just no good for doing stuff
> > on demand/on request.
>
> Huh?  Why is this a problem?  A module might just have a legitimate
> reason to change document_root at post_config.  But to do so anywhere
> within a request is nonsense: by all means set file paths (c.f. Alias,
> etc), but don't call it document root.

Nobody is saying anything about doing it anywhere within a request.
obviously you can't change the doc_root after the fact, but I see no
reason to not be able to do it prior to each request in the filename
translation hook so other hooks which use the doc_root will function
correctly.

-Rasmus

Reply via email to