Ticket #4296: modpython.diff

File modpython.diff, 585 bytes (added by Simon G. <dev@…>, 8 years ago)
  • modpython.txt

     
    6363        **PythonPath "['/path/to/project'] + sys.path"**
    6464    </Location>
    6565
     66Note that ``PYTHONPATH`` should be the parent directory of any module(s) you want to
     67use, so if your application ``mysite`` is in the ``/var/www/mysite`` directory, then you
     68should use:
     69
     70    PythonPath "['/var/www'] + sys.path"
     71
     72
    6673.. caution::
    6774
    6875    If you're using Windows, remember that the path will contain backslashes.
Back to Top