All pastes #454544 Raw Edit

Someone

public text v1 · immutable
·published 2007-04-23 17:45 UTC
rendered paste body
# mod_python.so module
-rwxr-xr-x  1 root  wheel  122135 Apr 23 12:43 /usr/local/libexec/apache22/mod_python.so

# mod_python python modules
drwxr-xr-x   2 root  wheel    1024 Apr 23 12:43 mod_python
-rw-r--r--   1 root  wheel     254 Apr 23 12:43 mod_python-3.3.1-py2.5.egg-info

# apache httpd.conf file entry
LoadModule python_module libexec/apache22/mod_python.so

# test .htaccess (http://randonom.com/test/python/mptest.py)
AddHandler mod_python .py
PythonHandler mptest
PythonDebug On

# httpd-error.log after hitting the URL above ^
[Mon Apr 23 13:37:40 2007] [error] get_interpreter: no interpreter callback found.
[Mon Apr 23 13:37:40 2007] [error] [client 65.36.178.226] python_handler: Can't get/create interpreter.