In my case, Apache is running as localsystem and it happens consistently.
I'm just not able to use 2.2.10 due to this problem.

On Tue, Nov 18, 2008 at 9:42 PM, Dan Yamins <[EMAIL PROTECTED]> wrote:
>
>> > ...
>> > [Tue Nov 18 18:23:28 2008] [error] [client a.b.c.d] Premature end of
>> > script headers: our_application.exe
>> > ...
>>
>>
>> ScriptLog might show you that your app is emitting an error message
>> instead of e.g. Content-Type header.
>>
>> --
>
> Actually, I've _also_  just started to have an intermittent and seemingly
> obscure and very frustrating "premature end of script headers" problem.
>
> I'm running a python script using CGI on a local apache-served virtual host.
> (It' just an internal development project.)   The project involves layout of
> some large graph network structures, which are then viewed via a web-based
> graph-vieweing tool.  The script uses the "Pygraphviz" module
> (http://networkx.lanl.gov/pygraphviz/)  to generate .svg files with layouts
> of the graph and the "zgrviewer" applet to view the graphs.    During the
> script, I first construct the graph.  After using the pygraphviz module to
> do the layout of the graph as a data structure in memory, I invoke the
> pygraphviz method "draw", which saves the graph to an .svg on disk.  Then I
> issue the HTML code invoking the zgrviewer applet, which uses the saved .svg
> file.
>
> Sometimes -- only _sometimes_ -- when the script invokes the "draw" method,
> I get a "premature end of script headers" problem, with error code 500.
> Because the .draw method is outputing a file to disk, it seems like it might
> be a permissions-related problem. But I can't figure out what t is easily,
> becuase the problem only happens occasionally.  Moreover, when it happens,
> if I just hit "refresh" on the browser to run the script again, then it
> usually runs fine.    I haven't been able to figure out more than this.
>
> Any suggestions greatly appreciated!
> Thanks,
> Dan
>
>

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to