Rasmus Lerdorf wrote: [snip]
Hint: document root is a configuration value used *by default* in filename translation. Any module can implement its own translation hook, but trying to change a core configuration value is not only utterly pointless (your module can use its own variables), it's working against the apache design, even in a non-threaded MPM.
Whether it is against the design or not, it is a useful thing to be able to do. And I fully realize that my module can do whatever it wants, but other modules won't know about it unless I modify them.
I agree this could be a useful 'feature'. I believe in a new API for configuration, this should be taken into consideration. However, the current hack of overwriting the values of a CORE config struct is completely bogus.
This can be done quite safely in Apache1, by the way.
I don't believe it can. Code?