[mod_python] Apache Problems

Miguel Marques miguel at yorku.ca
Mon Aug 28 11:49:05 EST 2000


On Mon, 28 Aug 2000 12:23:24 -0300, "Walace Soares" <walaces at prasair.com.br> wrote:
> 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
I think that should be:
req.send_http_header()

							Miguel

C. Miguel Marques, York University, Computing & Communications Services
e-mail: miguel at yorku.ca, voice: (416)736-2100x22684, fax: (416)736-5830



More information about the Mod_python mailing list