Mercurial > kallithea
changeset 2800:6540ee9179da beta
updated apache wsgi example ref #535
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Tue, 04 Sep 2012 02:54:02 +0200 |
parents | 493646d3146f |
children | 69420c48a0e6 |
files | docs/changelog.rst docs/setup.rst |
diffstat | 2 files changed, 11 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/docs/changelog.rst Tue Sep 04 02:18:59 2012 +0200 +++ b/docs/changelog.rst Tue Sep 04 02:54:02 2012 +0200 @@ -29,6 +29,7 @@ with updating default permissions occurred. RhodeCode detects that now and resets default user permission to initial state if there is a need for that. Also forces users to set the default value for new forking permission. +- #535 improved apache wsgi example configuration in docs 1.4.0 (**2012-09-03**)
--- a/docs/setup.rst Tue Sep 04 02:18:59 2012 +0200 +++ b/docs/setup.rst Tue Sep 04 02:54:02 2012 +0200 @@ -667,12 +667,21 @@ Here is a sample excerpt from an Apache Virtual Host configuration file:: - WSGIDaemonProcess pylons user=www-data group=www-data processes=1 \ + WSGIDaemonProcess pylons \ threads=4 \ python-path=/home/web/rhodecode/pyenv/lib/python2.6/site-packages WSGIScriptAlias / /home/web/rhodecode/dispatch.wsgi WSGIPassAuthorization On +.. note:: + when running apache as root please add: `user=www-data group=www-data` + into above configuration + +.. note:: + RhodeCode cannot be runned in multiprocess mode in apache, make sure + you don't specify `processes=num` directive in the config + + Example wsgi dispatch script:: import os