summaryrefslogtreecommitdiff
path: root/www/ap2-python/MESSAGE
blob: 6a2220c135777c4f6e531baa14531b3a15190b66 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
===========================================================================
$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

===========================================================================