Michael Peppler
Sybase Consulting
Sybase on Linux
Install Guide for Sybase on Linux
General Sybase Resources
General Perl Resources
BCP Tool
Bug Tracker
Mailing List Archive
Downloads Directory
Sybase on Linux FAQ
Sybperl FAQ
Michael Peppler's resume

sybperl-l Archive

Up    Prev    Next    

From: Roleigh Martin <rol at uhc dot com>
Subject: Re: Error: HTTPd: malformed header from script problem -- any clues?
Date: Jan 6 1999 11:21PM


This solved it (using the BEGIN...) -- Thanks!

By the way, did you ever get the package I mailed you?

Thanks again.


At 03:04 PM 01/05/1999 -0800, you wrote:
>>>>>> "Roleigh" == Roleigh Martin  writes:
>Roleigh> But when I execute the below HTML (same HTML file) online
>Roleigh> (ie, the CGI script is executed via HTML-invoking), I get
>Roleigh> this output in my browser:
>Roleigh> 500 Server Error 
>My bet is that the SYBASE environment variable is not set correctly in 
>the script. The SYbase libraries need this variable to find the
>interfaces file.
>If you use the Apache http server you can set the variable in the
>httpd.conf file with the SetEnv directive, or you can set it in the
>script itself:
>     $ENV{SYBASE} = '/the/sybase/home/directory';
>use Sybase::DBlib;
>Michael Peppler         -||-  Data Migrations Inc.
>       -||-
>Int. Sybase User Group  -||-
>Sybase on Linux mailing list:

Roleigh Martin, Rt. MN012-N188       Opinions are mine not UHC  |
Software Engineer Consultant         AT&T voice:  (612) 992-4592|
UHC, HealthCare System Services      AT&T vmail:  (612) 992-4592|
5901 Lincoln Drive                   FAX:         (612) 992-7021|
Edina MN 55436                       Email:|
Y2k Page:
    ( easy to remember alias is: )
(A Web Site that focuses on Y2k threat to core infrastructures.)