Summary: | www-servers/apache: move conf.d file to a /etc/apache.modules.conf or similar? | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Pacho Ramos <pacho> |
Component: | Current packages | Assignee: | Gentoo systemd Team <systemd> |
Status: | CONFIRMED --- | ||
Severity: | normal | CC: | mjo, polynomial-c, systemd |
Priority: | Normal | Keywords: | NeedPatch |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | Patches are highly welcome | ||
Package list: | Runtime testing required: | --- |
Description
Pacho Ramos
2014-12-16 16:03:07 UTC
With apache-2.4, we can move this configuration under /etc/apache2: http://httpd.apache.org/docs/trunk/mod/core.html#define Prior to 2.4, there was no way to enable/disable sections of the config programmatically, and obviously we want to ship working configs for the modules, even if they're not going to be enabled right away. So passing -D at startup was the only way to do it, and that meant messing with the init system somehow. With the new "Define" directive, we can stick the "-D" equivalents in, say, /etc/apache2/httpd-modules.conf. The "Define"s need to come before any other configuration, so we would have to include it at the very top of httpd.conf with, Include /etc/apache2/httpd-modules.conf Then users would just add, Define PHP Define SSL ... to that file. The rest of the configs shouldn't need modification that way. It's even backwards-compatible, since the definitions will stack. That would be nice for us (systemd) :) If you provide patches for review that would be nice. |