##// END OF EJS Templates
updated apache wsgi example ref #535
marcink -
r2800:6540ee91 beta
parent child Browse files
Show More
@@ -29,6 +29,7 b' fixes'
29 with updating default permissions occurred. RhodeCode detects that now and
29 with updating default permissions occurred. RhodeCode detects that now and
30 resets default user permission to initial state if there is a need for that.
30 resets default user permission to initial state if there is a need for that.
31 Also forces users to set the default value for new forking permission.
31 Also forces users to set the default value for new forking permission.
32 - #535 improved apache wsgi example configuration in docs
32
33
33
34
34 1.4.0 (**2012-09-03**)
35 1.4.0 (**2012-09-03**)
@@ -667,12 +667,21 b" that, you'll need to:"
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
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
684
676 Example wsgi dispatch script::
685 Example wsgi dispatch script::
677
686
678 import os
687 import os
General Comments 0
You need to be logged in to leave comments. Login now