﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
19599	incorrect instructions for configuration of Apache's WSGIPythonPath setting.	anonymous	nobody	"The documentation for [https://docs.djangoproject.com/en/1.4/howto/deployment/wsgi/modwsgi/ how to use Django with Apache and mod_wsgi] tells us:


{{{
edit your Apache server’s httpd.conf file and add:

WSGIScriptAlias / /path/to/mysite.com/mysite/wsgi.py
WSGIPythonPath /path/to/mysite.com
}}}

It then tells us that if using a virtualenv:


{{{
you'll need to add the path to this virtualenv's site-packages directory to your Python path as well. To do this, you can add another line to your Apache configuration:

WSGIPythonPath /path/to/your/venv/lib/python2.X/site-packages
}}}

The problem is that Apache only honors the last WSGIPythonPath it encounters, so the first one is ignored.

This problem was encountered while using Apache 2.2.23.
"	Uncategorized	closed	Documentation	1.4	Normal	duplicate			Unreviewed	0	0	0	0	0	0
