SHA256
1
0
forked from pool/apache2
apache2/apache2-README-instances.txt
Kristyna Streitova 522378d91b Accepting request 317068 from home:pgajdos:apache2
- change Provides: from suse_maintenance_mmn = # to 
  suse_maintenance_mmn_#

- apache2 Suggests:, not Recommends: apache2-prefork; that means
  for example, that `zypper in apache2-worker` will not pull 
  apache2-prefork also
- installing /usr/sbin/httpd link:
  * do not try to install it in '%post <MPM>' when apache2 (which 
    includes /usr/share/apache2/script-helpers) is not installed 
    yet (fixes installation on 11sp3)
  * install it in '%post' if apache2 is installed after 
    apache2-<MPM> to be sure it is there

OBS-URL: https://build.opensuse.org/request/show/317068
OBS-URL: https://build.opensuse.org/package/show/Apache/apache2?expand=0&rev=454
2015-07-16 10:47:20 +00:00

43 lines
1.4 KiB
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
* a2enmod, a2dismod and apachectl operates over default instance if
not specified otherwise via HTTPD_INSTANCE. For example,
export HTTPD_INSTANCE=myweb.org
a2enmod access_compat
a2enmod status
apachectl start
will add access_compat and status modules to APACHE_MODULES
variable of /etc/sysconfig/apache2@myweb.org and then starts
myweb.org instance.
* /usr/sbin/httpd link is created according to setup of default
instance (/etc/sysconfig/apache2:APACHE_MPM)