Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: Oracle Web server & Perl

Re: Oracle Web server & Perl

From: Keimel Bernhard <bkeimel_at_edu.uni-klu.ac.at>
Date: 1998/03/04
Message-ID: <34FD2DEB.FF559BBD@edu.uni-klu.ac.at>#1/1

did you check if your perl-prg returns
a) really some output
b) your output has a mime-header?

i have not worked with perl on OWAS yet, but when i developed some java-cartridges and i dumped into the problem that the webserver returned no data or the browser culdn't read the data correctly (tried to save it to disk as an .exe file (on NT) -- that means the WS-output wos encoded as application/octet-stream !!!!) the solution was that i had to set the mime-typ text-html on the beginning of every output!!

Ray Wood schrieb:
>
> I have an Oracle Webserver installed on a SPARC. I have Perl loaded,
> also. Perl works fine when ran from teh Unix box.
>
> Whenever I try to run a Perl program (like test.pl) from the cgi-bin
> directory, the browser tries to download the file.
>
> Is there something I need to do to tell the webserver to execute the file
> rather than download it?
>
> Thanks,
>
> Ray
 

-- 
Keimel Bernhard
===============
Mozartstrasse 61 / 519
9020 Klagenfurt, Austria

voice: +43 676 3401928
email: bkeimel_at_edu.uni-klu.ac.at
UIN:   7516757
Received on Wed Mar 04 1998 - 00:00:00 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US