Bug#349716: apache2-common: please consider giving a2[en|dis][mod|site] more flexibility
Package: apache2-common
Severity: wishlist
Hi,
I would like to submit a complete rewrite for a2[en|dis][mod|site].
The script don't seem to be a good example for code reuse, so I'd like
to wrap up all scripts' functionality into a single script which
determines what to do from the name it has been called at. It would,
of course, be fully compatible on the command line.
I would also love to add the possibility to have the -enabled and the
-available directories in two different directories, so that a second
instance of apache could run off the same -available directories while
writing the -enable links somewhere else. This patch would probably
consist of splitting the SYSCONFDIR variable into AVAILDIR and
ENABLEDIR, both defaulting to /etc/apache2, and overloadable from the
caller environment.
Please indicate whether you would be willing to accept the full
rewrite, or would prefer a patch against the current scripts to add
the split, or if you won't accept any changes.
Greetings
Marc
-- System Information:
Debian Release: testing/unstable
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'stable')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.15-zgsrv
Locale: LANG=C, LC_CTYPE=de_DE (charmap=ISO-8859-1)
Reply to: