[mod_python] mod_python doesn't work

cmd.exe at 163.com cmd.exe at 163.com
Thu Mar 17 19:24:37 EST 2005


hi:
  mod_python doesn't work with apache together, i don't know why!
details:
  mod_python/3.1.3
  python/2.3.5
  apache/2.0.53
conf:
 LoadModule python_module modules/mod_python.so
 <Directory "d:/Apache2/htdocs/bs/">
 AddHandler python-program .py
 PythonHandler mptest
 PythonDebug On
</Directory>
when i enter http://localhost/bs/he.py in IE, it return:
Mod_python error: "PythonHandler mptest"

Traceback (most recent call last):

  File "D:\PYTHON23\Lib\site-packages\mod_python\apache.py", line 287, in HandlerDispatch
    log=debug)

  File "D:\PYTHON23\Lib\site-packages\mod_python\apache.py", line 454, in import_module
    f, p, d = imp.find_module(parts[i], path)

ImportError: No module named mptest


thanks!
 
unig
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mm_cfg_has_not_been_edited_to_set_host_domains/pipermail/mod_python/attachments/20050318/3a3d8fb0/attachment.html


More information about the Mod_python mailing list