| Oracle FAQ | Your Portal to the Oracle Knowledge Grid | |
Home -> Community -> Usenet -> c.d.o.misc -> Re: OWS and Perl on NT
Steve Phelan wrote:
> Terje A. bergesen wrote:
[...]
> > Sure thing. I have a directory mapped to /cgi-bin/ in the
> > Oracle 2.1 setup. In the directory I have two files:
> >
> > ---test.bat---
> > @echo off
> > echo text/html
> > echo Hello
> >
> > ---test.pl---
> > print "text/html\n\n";
> > print Hello
> >
> > The first gives me the expected result, the second gives
> > me: The requested URL was not found.
> >
> > ---Terje
>
> Sorry, not quite sure if your second example is the *entire* file?
> Normally I would expect to see the name and location of the program
> which executes the script as the *first* line of the script. On UNIX,
> something like:
>
> #!/usr/local/bin/perl
>
> This tells the Web Server which program to use to execute the script.
> Have you tried this?
As I have pointed out, the webserver runs on NT. On NT there is no such thing, it executes files based on the file extention. You map the file extention .pl to the perl interpreter. The program test.pl runs fine from the command line. If I had run it on UNIX (I wish) then there wouldn't be a problem...
---Terje Received on Tue Apr 22 1997 - 00:00:00 CDT
![]() |
![]() |