summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorClaude Paroz <claude@2xlibre.net>2013-02-11 08:40:11 +0100
committerClaude Paroz <claude@2xlibre.net>2013-02-11 08:42:09 +0100
commitb4fb448f8387d92832fc70ac58de69c73d5f1729 (patch)
tree3021c307494c2a41aa0ff315683c0ffa2f161310 /docs
parent209f174e58b8d621a06c701281e547a659d9d99c (diff)
Fixed WSGIPythonPath instruction in deployment docs
Partial backport of 3abf6105b6 from master. Refs #19042.
Diffstat (limited to 'docs')
-rw-r--r--docs/howto/deployment/wsgi/modwsgi.txt6
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/howto/deployment/wsgi/modwsgi.txt b/docs/howto/deployment/wsgi/modwsgi.txt
index d669f6d852..2562556ca2 100644
--- a/docs/howto/deployment/wsgi/modwsgi.txt
+++ b/docs/howto/deployment/wsgi/modwsgi.txt
@@ -61,10 +61,10 @@ Using a virtualenv
If you install your project's Python dependencies inside a `virtualenv`_,
you'll need to add the path to this virtualenv's ``site-packages`` directory to
-your Python path as well. To do this, you can add another line to your
-Apache configuration::
+your Python path as well. To do this, add an additional path to your
+`WSGIPythonPath` directive, with multiple paths separated by a colon::
- WSGIPythonPath /path/to/your/venv/lib/python2.X/site-packages
+ WSGIPythonPath /path/to/mysite.com:/path/to/your/venv/lib/python2.X/site-packages
Make sure you give the correct path to your virtualenv, and replace
``python2.X`` with the correct Python version (e.g. ``python2.7``).