[mod_python] How to access like "http://localhost/html/test.html" under mod_python.publisher ?

GNULife gnulife at gmail.com
Fri Jul 1 00:02:14 EDT 2005


Now, it return the error:

Mod_python error: "PythonHandler mod_python.publisher"

Traceback (most recent call last):

  File "C:\Program Files\python 2.4\Lib\site-packages\mod_python\apache.py", line 299, in HandlerDispatch
    result = object(req)

  File "C:\Program Files\python 2.4\Lib\site-packages\mod_python\publisher.py", line 98, in handler
    path=[path])

  File "C:\Program Files\python 2.4\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 head

How to access like "http://localhost/html/test.html" under
mod_python.publisher ?


More information about the Mod_python mailing list