William A. Rowe, Jr. wrote:
William A. Rowe, Jr. wrote:

-I have to write a good bit of code before a module is configurable. (I'm
lazy. Very lazy.)

Agreed - see my first point.

One interesting point; why do we keep per-server and per-dir sections?
Perhaps it's time for a single simpler-to-use mechanic which can represent
either or both (essentially deprecate per-server in 3.0).

I'm pondering this... if we drop "per-server" ... yet retain the ability
for authors to factor their config info into related config sections...

... we could divide the frequently-merged and infrequently-merged options
into two or more groups; the overall merge calls would run more quickly,
but the flexibility would be greatly enhanced.

Override-able ->document_root, anyone?

And taking this one step further - addressing issues such as the fact that
we all want certain merged-sections (e.g. vhosts) to be run as root early
in the process, but be flexible enough to override a bit later on...

... if we had a config finalize, modules who were prepared to declare
their config (e.g. mod_vhost declaring the per-host directory merges
"completed") then as-root, we can finish these out, opening logs with
full privileges.  Other merges will happen at run time (or be optimized
when we can accomplish this) per-request.

It's not looking trivial, but it seems doable.

Reply via email to