405f23f2d9
Version 3.1.3 Apache module that embeds the Python interpreter As discussed on the mailing list, this package builds and runs for the most part but fails if the web server has too many backends. Adding it breaks nothing and does add functionality. I will file a PR to keep track of the remaining issue.
19 lines
642 B
Text
19 lines
642 B
Text
===========================================================================
|
|
$NetBSD: MESSAGE,v 1.1.1.1 2004/07/17 01:11:36 darcy Exp $
|
|
|
|
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 # or libpthread.so
|
|
export LD_PRELOAD
|
|
|
|
===========================================================================
|