summaryrefslogtreecommitdiff
path: root/docs
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:20 -0500
commit847d2ab5b3b786f735267f77dd02ba52451a1e7f (patch)
tree4a34f7394b8b4e4232801a9bdfe52f959a2c08ca /docs
parent54b04cc8e6e4ea3f40b6320afe7e8ecfa16a8651 (diff)
[1.6.x] Fixed #21663 -- Added missing WSGIPythonPath in mod_wsgi config.
Thanks carrie.hazelton at altamiracorp.com for the report. Backport of e82e7ae1e8 from master
Diffstat (limited to 'docs')
-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 d06e89cd0e..a1ce755ee4 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 @@ function:
.. code-block:: python
import os
- import sys
os.environ['DJANGO_SETTINGS_MODULE'] = 'mysite.settings'