summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Graham <timograham@gmail.com>2013-12-25 06:06:25 -0500
committerTim Graham <timograham@gmail.com>2013-12-25 06:11:25 -0500
commitfc2c8ee4c80848a14d61d627a7fc3a8c73914afa (patch)
treef3d8e000fe2f146d4671e39251f14689bac11168
parent6980059af2835ed3d15b4a59e16321bc8d828c0e (diff)
[1.5.x] Fixed #21663 -- Added missing WSGIPythonPath in mod_wsgi config.
Thanks carrie.hazelton at altamiracorp.com for the report. Backport of e82e7ae1e8 from master
-rw-r--r--docs/howto/deployment/wsgi/apache-auth.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/howto/deployment/wsgi/apache-auth.txt b/docs/howto/deployment/wsgi/apache-auth.txt
index 220645947d..fbde30f7c4 100644
--- a/docs/howto/deployment/wsgi/apache-auth.txt
+++ b/docs/howto/deployment/wsgi/apache-auth.txt
@@ -38,6 +38,7 @@ only authenticated users to be able to view:
.. code-block:: apache
WSGIScriptAlias / /path/to/mysite.com/mysite/wsgi.py
+ WSGIPythonPath /path/to/mysite.com
WSGIProcessGroup %{GLOBAL}
WSGIApplicationGroup django
@@ -76,7 +77,6 @@ check_user function:
.. code-block:: python
import os
- import sys
os.environ['DJANGO_SETTINGS_MODULE'] = 'mysite.settings'