httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Krist van Besien" <>
Subject Re: [users@httpd] Running cgi that uses SQLDriverConnect (unixODC) makes Apache throw Error 500
Date Tue, 03 Jun 2008 14:45:54 GMT
On Tue, Jun 3, 2008 at 12:52 PM, Miguel Rentes <> wrote:

> [Tue Jun 03 11:21:20 2008] [error] [client] Premature end of
> script headers: lista_alarmes.cgi, referer:

youd CGI must start by writing a "content-type" header, followed by a
blank line. Is this the case?

> I can only think that Apache doesn't know how to execute SQLDriverConnect.
> But if this is true,how do I make it work?

It could be that the user apache runs under is unable to locate some
binary or library needed for this script. Compare your environment
with that of apache. What language has the script been written in?


Bremgarten b. Bern, Switzerland
A: It reverses the normal flow of conversation.
Q: What's wrong with top-posting?
A: Top-posting.
Q: What's the biggest scourge on plain text email discussions?

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message