httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eli Marmor <>
Subject Re: Config
Date Fri, 07 Jan 2000 13:21:23 GMT
Martin Kraemer wrote:
> On Tue, Jan 04, 2000 at 09:41:10PM -0000, David Reid wrote:
> > When we add a module via the config process, if that module has any
> > configuration directives/switches etc then it also supplies a mod_foo.conf
> > file that is appended to our basic conf file to make that servers
> > configuration file specific to the build.
> The problem I see with this is the fact that often configurations depend
> on more than one module. And then, where would you put things which are
> configured only if, say, mod_mime AND mod_negotiation AND mod_rewrite
> are present?

Well, it's not the best way, but you always can have the general file
(httpd.conf), a file for mod_mime, a file for mod_negotiation, a file
for mod_rewrite, and A FIFTH FILE, call it as you want, and include it
from httpd.conf by nested "IfModule".

The real question is regarding to directives which are meaningful for
more than one module. We must decide if a directive in a file specific
to one module, is honored by another module, or if it affects only the
specific module. If we chose the former way, then module writers must
prefix their directives by the name of the module, to avoid conflicts
(of course, asuming that there are no conflicts between the names of
the modules, which can be avoided by using the modules registry).

I don't say that current names of directives should be changed; Only
new names, to avoid conflicts.

Eli Marmor

View raw message