From: Jonas B. <jo...@ho...> - 2001-08-01 12:06:57
|
<newbie-alert> Now I have unpacked Webware into e:\Program\Python21\Webware. I already have mod_python up n' running so I thought it might be a good idea to use it. I added the following lines to my httpd.conf (I use Apache): """ <Location "/ich"> SetHandler python-program PythonPath "sys.path+['E:\program\python21\WebWare\WebKit']" PythonHandler ModPythonAdapter PythonDebug On </Location> """ Then I made the "ich" directory and tried it in my browser (http://localhost:8080/ich/) and got the following error: """ ERROR Traceback (most recent call last): File "E:\program\python21\WebWare\WebKit\ModPythonAdapter.py", line 83, in handler self.respond(req, respdict) File "E:\program\python21\WebWare\WebKit\ModPythonAdapter.py", line 163, in respond req.headers_out[header[0]] = header[1] IndexError: list index out of range """ In my error.log I got the following error: """ Traceback (most recent call last): File "E:\program\python21\WebWare\WebKit\ModPythonAdapter.py", line 83, in handler self.respond(req, respdict) File "E:\program\python21\WebWare\WebKit\ModPythonAdapter.py", line 163, in respond req.headers_out[header[0]] = header[1] IndexError: list index out of range [Wed Aug 01 14:03:05 2001] [error] WebKit mod_python: Error while responding to request [Wed Aug 01 14:03:05 2001] [error] Python exception: """ What can be the problem? I could not find anything useful in the documentation... Btw. I use Windowws 2000 </newbie-alert> Thanks in advance, Jonas Bengtsson |