Package: apache2-common
Severity: wishlist
Hi,
please consider the attached new init script. It extends functionality
to:
- accepts additional parameter: If a path to an apache config file
is given on the command line (as /etc/init.d/apache2 start
/home/apache-foo/etc/apache2.conf), handle daemon configured
with the given config file.
- invoke daemon with sanitized environment
- pull paths to pid, run and lock files from the apache configuration
This allows the init script to handle multiple daemons running on the
same host.
The also attached file apache2-local, suiteable for doc/examples,
allows holders of local shell accounts to run their own apache process
under their own uid, controlled by ~/.apache2-local.
The combination of these two scripts is useful in a setting where a
number of web applications are to be run in their own apache process
(listening on a high port on 127.0.0.1), with the "main" apache
process on port 80 is reverse proxy to make the local apaches
reachable from the Internet.
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.4-zgsrv
Locale: LANG=C, LC_CTYPE=de_DE (charmap=ISO-8859-1)
Attachment:
apache2
Description: application/shellscript
Attachment:
apache2-local
Description: application/shellscript