# HG changeset patch # User Thomas De Schampheleire # Date 1557516261 -7200 # Node ID 759d5143042c4e7d083b0f53a5d24a1fcc2faa12 # Parent ee37a78c69509aae0c3d67323ccb8ff0eb23de1e 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. diff -r ee37a78c6950 -r 759d5143042c docs/setup.rst --- 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 -------------------------