Re: Running cgi that uses SQLDriverConnect (unixODC) makes Apache throw Error 500

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Jun 3, 2008 at 12:52 PM, Miguel Rentes <miguel.rentes@xxxxxxxxx> wrote:

> [Tue Jun 03 11:21:20 2008] [error] [client 172.18.200.62] Premature end of
> script headers: lista_alarmes.cgi, referer:
> http://172.18.200.153/cgi-bin/get_ret.cgi

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?

Krist

-- 
krist.vanbesien@xxxxxxxxx
krist@xxxxxxxxxxxxx
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:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux