Mercurial > kallithea
changeset 7652:759d5143042c stable
docs: tweak documentation of Apache+mod_wsgi further
Make the last bullet not only about WSGIScriptAlias but about the entire set
of WSGI* directives in the Apache Virtual Host configuration file.
This fits better with the already existing explanation of changing
user/group settings, and with the upcoming hints about locale settings.
author | Thomas De Schampheleire <thomas.de_schampheleire@nokia.com> |
---|---|
date | Fri, 10 May 2019 21:24:21 +0200 |
parents | ee37a78c6950 |
children | 9bae11163c31 |
files | docs/setup.rst |
diffstat | 1 files changed, 9 insertions(+), 8 deletions(-) [+] |
line wrap: on
line diff
--- a/docs/setup.rst Fri May 10 21:05:21 2019 +0200 +++ b/docs/setup.rst Fri May 10 21:24:21 2019 +0200 @@ -536,9 +536,15 @@ from paste.deploy import loadapp application = loadapp('config:' + ini) -- Enable the ``WSGIScriptAlias`` directive for the WSGI dispatch script, as in - the following example from an Apache Virtual Host configuration file. Once - again, check the paths are correctly specified. +- Add the necessary ``WSGI*`` directives to the Apache Virtual Host configuration + file, like in the example below. Notice that the WSGI dispatch script created + above is referred to with the ``WSGIScriptAlias`` directive. + Apache will by default run as a special Apache user, on Linux systems + usually ``www-data`` or ``apache``. If you need to have the repositories + directory owned by a different user, use the user and group options to + WSGIDaemonProcess to set the name of the user and group. + + Once again, check that all paths are correctly specified. .. code-block:: apache @@ -557,11 +563,6 @@ WSGIScriptAlias / /srv/kallithea/dispatch.wsgi WSGIPassAuthorization On - Apache will by default run as a special Apache user, on Linux systems - usually ``www-data`` or ``apache``. If you need to have the repositories - directory owned by a different user, use the user and group options to - WSGIDaemonProcess to set the name of the user and group. - Other configuration files -------------------------