Add note to Apache deployment re: virtualenv on Windows
|Reported by:||anonymous||Owned by:||donjpacheco|
|Has patch:||yes||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
Here is a quote from the "Using a virtualenv" section of the "How to use Django with Apache and mod_wsgi" documentation:
"To do this, add an additional path to your WSGIPythonPath directive, with multiple paths separated by a colon:"
I was trying to do this on Windows and it wasn't working. I eventually found out that on Windows it needs to be separated with a semicolon, not a colon. Here is a quote from the top of the Apache/mod_wsgi documentation:
"If multiple directories are specified they should be separated by a ‘:’ if using a UNIX like system, or ‘;’ if using Windows. If any part of a directory path contains a space character, the complete argument string to WSGIPythonPath must be quoted."
That last bit may be good to include in the Django documentation as well.
Change History (6)
comment:1 Changed 3 years ago by
|Patch needs improvement:||unset|
|Triage Stage:||Unreviewed → Accepted|
|Type:||Uncategorized → Cleanup/optimization|