Skip to content

Commit

Permalink
[1.5.x] Fixed #21663 -- Added missing WSGIPythonPath in mod_wsgi config.
Browse files Browse the repository at this point in the history
Thanks carrie.hazelton at altamiracorp.com for the report.

Backport of e82e7ae from master
  • Loading branch information
timgraham committed Dec 25, 2013
1 parent 6980059 commit fc2c8ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/howto/deployment/wsgi/apache-auth.txt
Expand Up @@ -38,6 +38,7 @@ only authenticated users to be able to view:
.. code-block:: apache .. code-block:: apache


WSGIScriptAlias / /path/to/mysite.com/mysite/wsgi.py WSGIScriptAlias / /path/to/mysite.com/mysite/wsgi.py
WSGIPythonPath /path/to/mysite.com


WSGIProcessGroup %{GLOBAL} WSGIProcessGroup %{GLOBAL}
WSGIApplicationGroup django WSGIApplicationGroup django
Expand Down Expand Up @@ -76,7 +77,6 @@ check_user function:
.. code-block:: python .. code-block:: python


import os import os
import sys


os.environ['DJANGO_SETTINGS_MODULE'] = 'mysite.settings' os.environ['DJANGO_SETTINGS_MODULE'] = 'mysite.settings'


Expand Down

0 comments on commit fc2c8ee

Please sign in to comment.