[cgiirc-general] Premature end of script headers: index.cgi
Brought to you by:
dgl
From: Sven V. <sv...@ve...> - 2004-06-08 09:30:12
|
Hi! I have a strange problem with CGI:IRC 0.5.3: ,----[ Apache error.log ]- | [Tue Jun 08 11:35:31 2004] [error] [client 172.21.1.42] Premature end of | script headers: index.cgi `---- ,----[ Apache cgi.log ]- | %% [Tue Jun 08 11:35:31 2004] GET /index.cgi HTTP/1.1 | %% 500 /home/lusc/irc.lusc.de/index.cgi | %request | Host: irc.lusc.de | User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) | Gecko/20040506 Firefox/0.8 | Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,video/x-mng,image/png,image/jpeg,image/gif;q=0.2,*/*;q=0.1 | Accept-Language: en-us,en;q=0.5 | Accept-Encoding: gzip,deflate | Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7 | Keep-Alive: 300 | Connection: keep-alive | %response `---- The really strange thing is that I had the problem once a week ago. I restarted Apache (2.0.49, MPM:Prefork) and the problem was gone. But not today :( As you can see from the cgi.log it seems that the script doesn't do any output if called from Apache. If I run the script on the command line I'll get the HTML code of the login page. BTW: The same Apache2 serves some sites with PHP as CGI an this runs wonderful, no problem, so the problem seems to be not Apache related. THX & bye Sven -- Meet me at: 2004-06-03 Schwabach: LUSC-Stammtisch (http://lusc.de) 2004-06-23/26 Karlsruhe: LinuxTag (http://linuxtag.org) 2004-10-01/03 Schwabach: Workshop-Weekend (http://lusc.de) 2005-05-05 Wuppertal: LUG-Camp 2005 (http://lug-camp-2005.de) |