Opened 12 years ago

Closed 12 years ago

Last modified 12 years ago

#19042 closed Bug (fixed)

mod_wsgi docs for virtualenv uses WSGIPythonPath incorrectly

Reported by: Preston Holmes Owned by: nobody
Component: Documentation Version: dev
Severity: Normal Keywords:
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

as near as I can tell this section of the docs is incorrect:

https://docs.djangoproject.com/en/dev/howto/deployment/wsgi/modwsgi/#using-a-virtualenv

The docs suggest adding a line to the conf

however

http://code.google.com/p/modwsgi/wiki/ConfigurationDirectives#WSGIPythonPath

stipulates that multiple locations be separated with a ':'

In my tests, using two lines will result in only the last line modifying the Python path, while using ':' works

I don't really use mod_wsgi much, so wouldn't mind someone validating this on another setup.

Change History (2)

comment:1 by Preston Holmes <preston@…>, 12 years ago

Resolution: fixed
Status: newclosed

In 3abf6105b6c953c6feb28708b9903f583cb28438:

Fixed a couple errors and inconsistencies in mod_wsgi docs

Fixes #19042

comment:2 by Claude Paroz <claude@…>, 12 years ago

In b4fb448f8387d92832fc70ac58de69c73d5f1729:

Fixed WSGIPythonPath instruction in deployment docs

Partial backport of 3abf6105b6 from master. Refs #19042.

Note: See TracTickets for help on using tickets.
Back to Top