|
Gregory Trubetskoy
grisha at modpython.org
Thu Sep 28 09:08:58 EST 2000
Where is your PythonHandler directive? It needs to be either in an
.htaccess file or inside <Directory> tags matching the directory where
mptest.py resides, or you need to have a PythonPath directive with the
directory where mptest.py is.
--
Gregory (Grisha) Trubetskoy
grisha at modpython.org
On Wed, 27 Sep 2000, Jeff Okamoto wrote:
> Hello,
>
> I've got Apache 1.3.12, Python 1.6, and mod_python 2.5. I can compile
> mod_python just fine, and have configured Apache and created an mptest.py
> as the Installation documentation says. However, when I try to access
> it, I get the following error:
>
> Mod_python error: "PythonHandler mptest"
>
> Traceback (most recent call last):
>
> File "/usr/local/lib/python1.6/site-packages/mod_python/apache.py", line 135,
> in Dispatch module = import_module(module_name, req)
>
> File "/usr/local/lib/python1.6/site-packages/mod_python/apache.py", line 276,
> in import_module module = __import__(module_name)
>
> ImportError: No module named mptest
>
> I've checked the ML archives, and saw a message by Jeremy Hylton that was
> almost exactly the problem I've encountered, but he was using mod_python
> 2.0, not 2.5.
>
> Can someone give me some additional suggestions of what to try next?
>
> Thanks,
> Jeff
> _______________________________________________
> Mod_python mailing list
> Mod_python at modpython.org
> http://www.modpython.org/mailman/listinfo/mod_python
>
|