From: Patrick Robinson <pgr@vt...> - 2003-09-09 12:23:01
On Thursday, September 4, 2003, at 02:06 PM, Miko Buck wrote:
> htsearch under the commandline is working fine. But with Apache 1.3.19
> some problems appear:
> Internal Server Error with the error.log-entry: "Premature end of
> script headers: /home/www/web4/htdig-cgi-bin/htsearch"
I had something like that happen... the problem turned out to be that
the environment of the user running htsearch (i.e. the user that's
running the web server software) wasn't quite right. It didn't have
the correct LD_LIBRARY_PATH set (this is on a Solaris box). To fix it,
I added this to my httpd.conf:
SetEnv LD_LIBRARY_PATH /opt/sfw/lib
so that my libstdc++.so.2.10.0 could be found.
AHNR Info Technology, Virginia Tech