[mod_python] ImportError: No module named index

Gregory (Grisha) Trubetskoy grisha at modpython.org
Sat Jan 17 11:25:41 EST 2004


What's the URL you're trying to access?


On Sat, 17 Jan 2004, Saiello at Jentoo.com wrote:

> 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 ?
>
> _______________________________________________
> Mod_python mailing list
> Mod_python at modpython.org
> http://mailman.modpython.org/mailman/listinfo/mod_python
>


More information about the Mod_python mailing list