Hi Krist,
The problem was in httpd.conf. I added the PassEnv ORACLE_HOME
directive and my .cgi code (listed bellow) worked fine.
Thanks for everything,
Miguel Rentes
Miguel Rentes wrote:
Hi Krist,
Krist van Besien wrote:
On Tue, Jun 3, 2008 at 12:52 PM, Miguel Rentes
[EMAIL
Hi everyone!
I'm trying to create a .cgi that makes a connection to Oracle Database
using unixODBC (in a Red Hat Enterprise Linux 4 machine).
I've successfully compiled Apache (APR 1.2.12, APR-Util 1.2.12, HTTPD
2.2.8), unixODBC (2.2.12) and PHP (5.2.6) but when I try to run the cgi
from
On Tue, Jun 3, 2008 at 12:52 PM, Miguel Rentes [EMAIL PROTECTED] 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,
Hi Krist,
Krist van Besien wrote:
On Tue, Jun 3, 2008 at 12:52 PM, Miguel Rentes
[EMAIL PROTECTED] 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