Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

[1.5.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...
commit fc2c8ee4c80848a14d61d627a7fc3a8c73914afa 1 parent 6980059
@timgraham timgraham authored
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 @@ check_user function:
.. code-block:: python
import os
- import sys
os.environ['DJANGO_SETTINGS_MODULE'] = 'mysite.settings'
Please sign in to comment.
Something went wrong with that request. Please try again.