Tonu Mikk
tmikk at umn.edu
Fri Oct 19 15:10:27 EDT 2007
I am getting an error when using Apache (v 2.0) Virtual Host and Mod-python (v3.2.10). Mod_python error: "PythonHandler roundup.cgi.apache" Traceback (most recent call last): File "C:\Python24\lib\site-packages\mod_python\apache.py", line 276, in HandlerDispatch newpath = eval(pathstring) File "", line 1 /Python24/python.exe ^ SyntaxError: invalid syntax When I refresh the page, the error disappears, and the page is displayed. The error tends to happen consistently when I re-start Apache service and go to the page for the first time. I have modified the line in Virtual host directive to be C:/Python24/python.exe, but the same behavior happens. I tried adding TimeOut 300 and KeepAliveTimeOut 15 setting to the Virtual Host directives, but they don't help with it either. Any suggestions on what I could try to remedy this? Thank you, Tonu
|