Bug#387625: please split up the configuration files
I noticed that a limited effort has been made to split up the apache2
config, resulting in a limping modular/monolithic configuration system.
As a systems administrator I find myself changing a few common things
in the config whenever I set up an apache2 server. When the number of
apache2 installations is sufficiently large, it becomes *extremely*
useful to have the common changes in one file, and per-host changes in
a different file. A modular configuration system would help a lot with
such an approach.
It makes it easier for an administrator to decide which parts to leave
at defaults and which parts to customize.
A modular configuration system also helps when upgrading: unchanged
configuration files can be simply replaced. A single large config file
is unlikely to remain unmodified.
I made a straightforward split of the configuration files of both
version 2.0 and version 2.2 (from experimental), which you may find at:
The splits are fairly basic, no statements were added or removed and
almost all stanzas are left intact (the charsets stuff was mixed with
some random filetype statements in the configuration file, had to
Obviously I'll be more than happy to adjust this thing if you have
The included README replicated here for convenience:
- ports.conf was moved to conf.d/
- conf.d/charset was renamed to conf.d/charset.conf
- All config files must be named *.conf; this to prevent
problems when dpkg creates a foo.conf.dpkg-old file.
The postinst script might want to offer to rename existing
-- System Information:
Debian Release: unstable/experimental
APT prefers experimental
APT policy: (500, 'experimental'), (500, 'unstable'), (500, 'testing')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 184.108.40.206-p4-uvt
Locale: LANG=nl_NL.UTF-8, LC_CTYPE=nl_NL.UTF-8 (charmap=UTF-8)
Versions of packages apache2-common depends on:
ii apache2-utils 2.2.3-1~exp.r170 utility programs for webservers
ii libmagic1 4.17-3 File type determination library us
ii lsb-base 3.1-15 Linux Standard Base 3.1 init scrip
ii mime-support 3.37-1 MIME files 'mime.types' & 'mailcap
ii net-tools 1.60-17 The NET-3 networking toolkit
apache2-common recommends no packages.
-- no debconf information