[mod_python] Apache Problems

Walace Soares walaces at prasair.com.br
Mon Aug 28 12:23:24 EST 2000


Hi,

I have the mod_python instaled within Apache in a Linux slackware box.
Python is working fine.
But when I am trying to run mod_python, apache show me the message:

Mod_python error: "PythonHandler pytest.py"
Traceback (innermost last): File
"/usr/lib/python1.5/site-packages/mod_python/apache.py", line 113, in
Dispatch module = import_module(module_name, req)
File "/usr/lib/python1.5/site-packages/mod_python/apache.py", line 246, in
import_module module = __import__(module_name)
File "/usr/lib/python1.5/pytest.py", line 3
req.send_httpd header()
		^
SyntaxError: invalid syntax


Could Anyone please help me ?


Walace

My configuration:
Slacware 7.0
Apache 1.3.12
Python 1.5.2
mod_python 2.4.1







More information about the Mod_python mailing list