Changes between Version 1 and Version 2 of TracModPython
- Timestamp:
- Mar 20, 2012, 4:04:32 PM (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
TracModPython
v1 v2 258 258 === Form submission problems === 259 259 260 If you're experiencing problems submitting some of the forms in Trac (a common problem is that you get redirected to the start page after submission), check whether your {{{DocumentRoot}}} contains a folder or file with the same path that you mapped the mod_python handler to. For some reason, mod_python gets confused when it is mapped to a location that also matches a static resource. 260 If you're experiencing problems submitting some of the forms in Trac (a common problem is that you get redirected to the start page after submission), check whether your {{{ 261 DocumentRoot 262 }}} contains a folder or file with the same path that you mapped the mod_python handler to. For some reason, mod_python gets confused when it is mapped to a location that also matches a static resource. 261 263 262 264 === Problem with virtual host configuration === … … 334 336 If this is not the case, it's possible that you're using Subversion libraries that are binary incompatible with the apache ones (an incompatibility of the `apr` libraries is usually the cause). In that case, you also won't be able to use the svn modules for Apache (`mod_dav_svn`). 335 337 336 You also need a recent version of `mod_python` in order to avoid a runtime error ({{{argument number 2: a 'apr_pool_t *' is expected}}}) due to the default usage of multiple sub-interpreters. 3.2.8 ''should'' work, though it's probably better to use the workaround described in #3371, in order to force the use of the main interpreter: 338 You also need a recent version of `mod_python` in order to avoid a runtime error ({{{ 339 argument number 2: a 'apr_pool_t *' is expected 340 }}}) due to the default usage of multiple sub-interpreters. 3.2.8 ''should'' work, though it's probably better to use the workaround described in #3371, in order to force the use of the main interpreter: 337 341 {{{ 338 342 PythonInterpreter main_interpreter … … 351 355 }}} 352 356 353 Note: For the above configuration to have any effect it must be put after the configuration of your project root location, i.e. {{{<Location /myproject />}}}. 357 Note: For the above configuration to have any effect it must be put after the configuration of your project root location, i.e. {{{ 358 <Location /myproject /> 359 }}}. 354 360 355 361 === HTTPS issues === … … 377 383 ---- 378 384 See also: TracGuide, TracInstall, [wiki:TracModWSGI ModWSGI], [wiki:TracFastCgi FastCGI], [wiki:TracModPython ModPython], [trac:TracNginxRecipe TracNginxRecipe] 385