comparison docs/setup.rst @ 2825:f7a52d548fd0

merge with beta
author Marcin Kuzminski <marcin@python-works.com>
date Fri, 07 Sep 2012 23:20:33 +0200
parents 63e58ef80ef1 6540ee9179da
children 3148c08cf86f
comparison
equal deleted inserted replaced
2793:4c13cedbde93 2825:f7a52d548fd0
665 as in the following example. Once again, check the paths are 665 as in the following example. Once again, check the paths are
666 correctly specified. 666 correctly specified.
667 667
668 Here is a sample excerpt from an Apache Virtual Host configuration file:: 668 Here is a sample excerpt from an Apache Virtual Host configuration file::
669 669
670 WSGIDaemonProcess pylons user=www-data group=www-data processes=1 \ 670 WSGIDaemonProcess pylons \
671 threads=4 \ 671 threads=4 \
672 python-path=/home/web/rhodecode/pyenv/lib/python2.6/site-packages 672 python-path=/home/web/rhodecode/pyenv/lib/python2.6/site-packages
673 WSGIScriptAlias / /home/web/rhodecode/dispatch.wsgi 673 WSGIScriptAlias / /home/web/rhodecode/dispatch.wsgi
674 WSGIPassAuthorization On 674 WSGIPassAuthorization On
675
676 .. note::
677 when running apache as root please add: `user=www-data group=www-data`
678 into above configuration
679
680 .. note::
681 RhodeCode cannot be runned in multiprocess mode in apache, make sure
682 you don't specify `processes=num` directive in the config
683
675 684
676 Example wsgi dispatch script:: 685 Example wsgi dispatch script::
677 686
678 import os 687 import os
679 os.environ["HGENCODING"] = "UTF-8" 688 os.environ["HGENCODING"] = "UTF-8"