|
In upstream Apache httpd and most other distros Apache configuration is so simple, with few files and a simple directory structure for its configuration. Meanwhile, in Debian and its derivatives, we got it split into many files and directories, with a whole system of symlinks and helpers that exist only in Debian, like a2enmod, a2dismod, a2ensite, a2dissite, and a2enconf, a2disconf. I've even seen people calling this a "Debianism". Why does Debian make such change to the structure of upstream Apache config? I'm sure there must be good reasons and/or historical reasons for that, with a rationale buried in a mailing list post from 2 decades ago, but I can't seem to find it. What are the reasons for Debian to change the upstream config structure of the Apache server? |
If you've got a monolithic configuration file you need to parse it and be really sure that you handle all edge cases, including arbitrary manual changes by the admin.
If you split it into small per-site config snippets that don't claim to support every possible Apache configuration setting, you can simply paste them in the right place together.