From e82e7ae1e8b7300017bb390462e5c2f7b48e2cde Mon Sep 17 00:00:00 2001 From: Tim Graham Date: Wed, 25 Dec 2013 06:06:25 -0500 Subject: [PATCH] Fixed #21663 -- Added missing WSGIPythonPath in mod_wsgi config. Thanks carrie.hazelton at altamiracorp.com for the report. --- docs/howto/deployment/wsgi/apache-auth.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/howto/deployment/wsgi/apache-auth.txt b/docs/howto/deployment/wsgi/apache-auth.txt index 80219ffdf4..98bafad530 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'