[mod_python] make_obcallback: could not import mod_python.apache.

Robert Lilly rclilly at cox.net
Thu Oct 9 18:22:28 EST 2003

My setup:		Apache/2.0.47 (Win32) PHP/4.3.2 mod_python/3.0.3 Python/2.2.3

My http.conf:	LoadModule python_module modules/mod_python.so

			<Directory F:/MyApache/Apache2/htdocs/test>
			  AddHandler python-program .py
			  PythonHandler mptest
			  PythonDebug On

When I try to access http://localhost/test/mptest.py I get and Internal
Server Error. The error.log shows: [Thu Oct 09 18:09:56 2003] [error]
make_obcallback: could not import mod_python.apache.

As noted above, I'm using Python 2.2.3 as I couldn't even get Apache to
start when using mod_python with Python 3.

Any clues on what I need to do to get mod_python working under Apache2?


Robert Lilly
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.524 / Virus Database: 321 - Release Date: 2003.10.06

More information about the Mod_python mailing list