diff options
| author | Aymeric Augustin <aymeric.augustin@m4x.org> | 2012-10-29 21:39:12 +0100 |
|---|---|---|
| committer | Aymeric Augustin <aymeric.augustin@m4x.org> | 2012-10-29 21:40:10 +0100 |
| commit | a92c7c6e262a4374c9e92162017c2707ed1644c9 (patch) | |
| tree | f2ed1d47013e061a807672ba53cc3054e277052d /docs | |
| parent | 04717ee9b1d1f8ccc0f37107f7008662726689c2 (diff) | |
[1.5.x] Fixed #19208 -- Docs for mod_wsgi daemon mode
Thanks Graham Dumpleton for the patch.
Backport of bc00075 from master.
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/howto/deployment/wsgi/modwsgi.txt | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/docs/howto/deployment/wsgi/modwsgi.txt b/docs/howto/deployment/wsgi/modwsgi.txt index 7f68485dff..ead04a4643 100644 --- a/docs/howto/deployment/wsgi/modwsgi.txt +++ b/docs/howto/deployment/wsgi/modwsgi.txt @@ -88,12 +88,20 @@ Using mod_wsgi daemon mode ========================== "Daemon mode" is the recommended mode for running mod_wsgi (on non-Windows -platforms). See the `official mod_wsgi documentation`_ for details on setting -up daemon mode. The only change required to the above configuration if you use -daemon mode is that you can't use ``WSGIPythonPath``; instead you should use -the ``python-path`` option to ``WSGIDaemonProcess``, for example:: +platforms). To create the required daemon process group and delegate the +Django instance to run in it, you will need to add appropriate +``WSGIDaemonProcess`` and ``WSGIProcessGroup`` directives. A further change +required to the above configuration if you use daemon mode is that you can't +use ``WSGIPythonPath``; instead you should use the ``python-path`` option to +``WSGIDaemonProcess``, for example:: WSGIDaemonProcess example.com python-path=/path/to/mysite.com:/path/to/venv/lib/python2.7/site-packages + WSGIProcessGroup example.com + +See the official mod_wsgi documentation for `details on setting up daemon +mode`_. + +.. _details on setting up daemon mode: http://code.google.com/p/modwsgi/wiki/QuickConfigurationGuide#Delegation_To_Daemon_Process .. _serving-files: |
