9a96e22055
* Support for Python 3.3 * Simpler, faster and up-to-date with latest Python code for creating/maintaining interpreter and thread state. * A much faster WSGI implementation (start_response now implemented in C)
24 lines
816 B
Text
24 lines
816 B
Text
===========================================================================
|
|
$NetBSD: MESSAGE,v 1.2 2014/02/17 17:20:28 adam Exp $
|
|
|
|
In order to use this module in your Apache installation, you need to
|
|
add the following to your httpd.conf file:
|
|
|
|
LoadModule python_module lib/httpd/mod_python.so
|
|
|
|
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
|
|
|
|
===========================================================================
|