mirror of
				https://github.com/django/django.git
				synced 2025-10-26 07:06:08 +00:00 
			
		
		
		
	Fixed #21663 -- Added missing WSGIPythonPath in mod_wsgi config.
Thanks carrie.hazelton at altamiracorp.com for the report.
This commit is contained in:
		| @@ -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' | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user