[mod_python] ImportError: No module named index

Saiello at Jentoo.com Saiello at Jentoo.com
Sat Jan 17 09:21:57 EST 2004


Using:
Apache-2.0.46
python-2.2.3-r5
mod_python-3.1b

Apache conf:
<Directory /home/httpd/htdocs/python>
        SetHandler mod_python
        PythonHandler mod_python.publisher
        #PythonDebug On
</Directory>

new.py
from mod_python import apache

def index(req):
	return "Hello World!"

Error_log:
PythonHandler mod_python.publisher: ImportError: No module named index


Any ideas ?



More information about the Mod_python mailing list