Ticket #5303: modpython.diff

File modpython.diff, 694 bytes (added by Simon G. <dev@…>, 17 years ago)
  • docs/modpython.txt

     
    262262to ensure that you have specified the ``PythonInterpreter`` directive to
    263263mod_python as described above__ (you need to do this even if you aren't
    264264serving multiple installations in this case). Then add the ``PythonImport``
    265 line inside the ``Location`` or ``VirtualHost`` section. For example::
     265line in the main server configuration (i.e. outside the ``Location`` or
     266``VirtualHost`` sections). For example::
    266267
    267268    PythonInterpreter my_django
    268269    PythonImport /path/to/my/project/file.py my_django
Back to Top