Problems getting mod_python up n' running

Jonas Bengtsson jonas.b at home.se
Fri Jul 13 19:53:17 CEST 2001


I still get the same error. Can anyone helt me?
Is there any other way to get python working under Apache under Windows 2000?

Thanks in advance!

/Jonas B

jonas.b at home.se (Jonas Bengtsson) wrote in message news:<4e2ddb70.0107121317.4c883f6c at posting.google.com>...
> Hi,
> I can't get mod_python to work. I get this error message when I'm restarting
> Apache:
> make_obcallback(): could not import mod_python.apache.
> make_obcallback(): could not call init.
> And when I try to look at a .py page I get following error:
> [Thu Jul 12 03:33:12 2001] [error] [client 127.0.0.1] python_handler:
> make_obcallback returned no obCallBack!
> 
> What is wrong?
> I've got: Apache/1.3.19 (Win32) mod_python/2.7.4 Python/2.1
> Running under Windows 2000
> 
> I have put mod_python.dll.in E:\program\apache\modules and following rows to
> httpd.conf:
> #DSO section
> LoadModule python_module e:/program/apache/modules/mod_python.dll
> #under my main directory
>     AddHandler python-program .py
>     PythonHandler mptest
>     PythonDebug on
> 
> Furthermore I have put following files under
> e:\program\python21\libs\mod_python:
> __init__.py
> apache.py
> cgihandler.py
> httpdapi.py
> publisher.py
> util.py
> zhandler.py
> 
> And my environment path contains:
> E:\Program\Python21;e:\Program\Python21\libs
> 
> 
> What can be the problem?
> 
> TIA
> Jonas Bengtsson



More information about the Python-list mailing list