#19599: incorrect instructions for configuration of Apache's WSGIPythonPath
setting.
-------------------------------+--------------------
     Reporter:  anonymous      |      Owner:  nobody
         Type:  Uncategorized  |     Status:  new
    Component:  Documentation  |    Version:  1.4
     Severity:  Normal         |   Keywords:
 Triage Stage:  Unreviewed     |  Has patch:  0
Easy pickings:  0              |      UI/UX:  0
-------------------------------+--------------------
 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.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/19599>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to