Opened 10 years ago

Closed 10 years ago

#3801 closed (fixed)

Improvement: In mod_python description, PythonPath for windows environment must be 'double-escaped'

Reported by: BastiG Owned by: Jacob
Component: Documentation Version: master
Severity: Keywords: mod_python windows
Cc: Triage Stage: Ready for checkin
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:

Description

Just a hint for the django-users that use windows and apache(2.2): The PythonPath has to be escaped twice,
such as the following:

PythonPath " e:\\\\dev\\\\django\\\\project? + sys.path"

Otherwise django will not find the settings-file.

Change History (3)

comment:1 Changed 10 years ago by BastiG

Needs documentation: unset
Needs tests: unset
Patch needs improvement: unset

Sorry for the aweful formatting. Here more readable:

PythonPath "[e:\\\\dev\\\\django\\\\project] + sys.path"

comment:2 Changed 10 years ago by Gary Wilson <gary.wilson@…>

Triage Stage: UnreviewedReady for checkin

Agreed that this would be a good thing to add as a note for windows users to the [source:/django/trunk/docs/modpython.txt mod_python documentation]. Marking as ready for checkin, as this is a trivial addition.

comment:3 Changed 10 years ago by Malcolm Tredinnick

Resolution: fixed
Status: newclosed

(In [4877]) Fixed #3801 -- Added note about double-escaping Windows paths when configuring
mod_python.

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