1be296d062
- Add an instruction about how to run mod_python without a threaded apache. PR: ports/50375 [1] Submitted by: Mark Linimon <linimon@lonesome.com> [1]
19 lines
573 B
Plaintext
19 lines
573 B
Plaintext
================================================================================
|
|
|
|
Also remember to add to your Apache configuration in the appropriate context:
|
|
|
|
PythonPath "['/path/to/foo', '/path/to/bar']"
|
|
AddHandler python-program .py
|
|
PythonHandler foobar
|
|
PythonDebug On
|
|
|
|
For more information, see http://www.modpython.org/.
|
|
|
|
And, if you built apache without thread support, you may need to add the
|
|
following lines to $PREFIX/sbin/envvars:
|
|
|
|
LD_PRELOAD=/usr/lib/libc_r.so
|
|
export LD_PRELOAD
|
|
|
|
================================================================================
|