Changeset 285
- Timestamp:
- 07/21/05 14:42:51 (3 years ago)
- Files:
-
- django/trunk/docs/modpython.txt (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
django/trunk/docs/modpython.txt
r279 r285 84 84 </VirtualHost> 85 85 86 If you need to put two Django installations within the same ``VirtualHost`` 87 you'll see problems due to the way mod_python caches code in memory. To fix88 this problem, you'll need to use the ``PythonInterpreter`` directive to give 89 different ``<Location>`` directives seperate interpreters::86 If you need to put two Django installations within the same ``VirtualHost``, 87 you'll need to take a special precaution to ensure mod_python's cache doesn't 88 mess things up. Use the ``PythonInterpreter`` directive to give different 89 ``<Location>`` directives separate interpreters:: 90 90 91 91 <VirtualHost *> … … 96 96 PythonInterpreter myproject_main 97 97 </Location> 98 98 99 99 <Location "/admin"> 100 100 SetEnv DJANGO_SETTINGS_MODULE myproject.settings.admin … … 103 103 </VirtualHost> 104 104 105 The values of ``PythonInterpreter`` don't really matter, as long as they're 106 different between the two ``Location`` blocks. 105 107 106 108 Running a development server with mod_python
