Browse files

[1.6.x] Fixed #21663 -- Added missing WSGIPythonPath in mod_wsgi config.

Thanks carrie.hazelton at altamiracorp.com for the report.

Backport of e82e7ae from master
  • Loading branch information...
1 parent 54b04cc commit 847d2ab5b3b786f735267f77dd02ba52451a1e7f @timgraham timgraham committed Dec 25, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 docs/howto/deployment/wsgi/apache-auth.txt
View
2 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'

0 comments on commit 847d2ab

Please sign in to comment.