Volker.Duetsch at nexans.com
Volker.Duetsch at nexans.com
Tue Feb 24 13:07:55 EST 2004
Hi, I installed mod_python binary 3.0.4 on my windows 2000 sp3 box. Already located is python 2.3.2 (from activestate) and I configured httpd.conf (I'm using xampp 0.9 from apachefriends.org) as described in the documents. Running the test script as listed in 2.4 of the Mod_python Manual results in: [error] [client 127.0.0.1] PythonHandler mptest: ImportError: No module named mptest [notice] mod_python: (Re)importing module 'mptest' [error] [client 127.0.0.1] PythonHandler mptest: Traceback (most recent call last): [error] [client 127.0.0.1] PythonHandler mptest: File "C:\Python23\Lib\site-packages\mod_python\apache.py", line 320, in HandlerDispatch module = import_module(module_name, config) [error] [client 127.0.0.1] PythonHandler mptest: File "C:\Python23\Lib\site-packages\mod_python\apache.py", line 496, in import_module f, p, d = imp.find_module(parts[i], path) [error] [client 127.0.0.1] PythonHandler mptest: ImportError: No module named mptest [notice] Parent: Received shutdown signal -- Shutting down the server. apache-document-root: c:\xampp\htdocs in httpd.conf: -- LoadModule python_module modules/mod_python.so <Directory /xampp/htdocs/test> AddHandler python-program .py PythonHandler mptest.py PythonDebug On </Directory> -- - no mime configuration for py or pyc - files! I've found several postings related to this topic, but none of them could help to fix my problem... regards Volker E-Mail: volker.duetsch at nexans.com
|