error: make_obcallback(): could not import mod_python.apache.

vdba venkat_thoutam at tufts-health.com
Wed Jul 10 15:44:56 EDT 2002


I am using the mod_python(Version. 2.2) to integrate python(Ver.
1.5.2) with apache(Ver. 1.3.24) web server and am geting the below
error.

make_obcallback(): could not import mod_python.apache.
make_obcallback(): could not call init.

I did the following modifications to the httpd.conf file.

LoadModule python_module modules/mod_python.dll

AddModule mod_python.c

ScriptAlias /python/ "c:/Program Files/Apache
Group/Apache/htdocs/python/"

    <Directory "c:/Program Files/Apache Group/Apache/htdocs/python">
     	AddHandler python-program .py
     	PythonHandler mptest
     	PythonDebug
   </Directory>

AddHandler python .py

Any help will be greatly appreciated.

Venkat.



More information about the Python-list mailing list