forked from pool/apache2
Kristyna Streitova
924136ec0d
- allow to run multiple instances of Apache on one system [fate#317786] (internal) * distributed httpd.conf no longer includes sysconfig.d, nor this directory is shipped. httpd.conf includes loadmodule.conf and global.conf which are former sysconfig.d/loadmodule.conf and sysconfig.d/global.conf for default /etc/sysconfig/apache2 global.conf and loadmodule.conf are not included when sysconfig variables could have been read by start_apache2 startup script (run with systemd services). Therefore, when starting server via /usr/sbin/httpd, sysconfig variables are not taken into account. * some not-maintained scripts are moved from /usr/share/apache2 to /usr/share/apache2/deprecated-scripts * all modules comment in sysconfig file is not generated anymore * added README-instances.txt * removed Sources: load_configuration find_mpm get_module_list get_includes find_httpd_includes apache-find-directives * added Sources: deprecated-scripts.tar.xz apache2-README-instances.txt apache2-loadmodule.conf apache2-global.conf apache2-find-directives apache2@.service OBS-URL: https://build.opensuse.org/request/show/314699 OBS-URL: https://build.opensuse.org/package/show/Apache/apache2?expand=0&rev=452
31 lines
930 B
Plaintext
31 lines
930 B
Plaintext
Dear System Administrator,
|
|
|
|
SUSE Apache package comes with the possibility to run more instances
|
|
of Apache process on one system.
|
|
|
|
As always,
|
|
|
|
sytemctl start apache2
|
|
|
|
activates default instance of the server, which expects sysconfig setting
|
|
in /etc/sysconfig/apache2. If this file is not present, or APACHE_HTTPD_CONF
|
|
in there is not set, then it requires /etc/apache2/httpd.conf.
|
|
|
|
Any other instance can be activated via
|
|
|
|
systemctl start apache2@<instancename>
|
|
|
|
for example
|
|
|
|
systemctl start apache2@myweb.org
|
|
|
|
This call tries to read /etc/sysconfig/apache2@<instancename> and if this
|
|
file is not present or APACHE_HTTPD_CONF is not set there, it requires
|
|
/etc/apache2@<instancename>/httpd.conf.
|
|
|
|
NOTES:
|
|
* /etc/sysconfig/apache2@<instancename> can hold any sysconfig variable
|
|
/etc/sysconfig/apache2 can, including module loading and MPM setting,
|
|
* default instance do not have to run when running other instances
|
|
|