Problems running perl scripts

Hello.

Were trying to get a perl script called fruit bbs to work.
The problem is that when we call the script from the browser,
the script is shown in the window, and not executed.

The first line of the script reads #!/usr/bin/perl. Is the the line to change? and if so, what should i change it to?

If it's any help, our servers path is C:\progra~1\sambar\
In that directory we have a directory called perl, which contains the perl exe.

The script's path is;
C:\progra~1\sambar\cgi-bin\pot\amos\fruity_sub.pl


We know nothing about perl, so if someone couldt give an idiot proff ansver we wouldt be more that gratefull.

freak022398Asked:
Who is Participating?
 
sybeConnect With a Mentor Commented:
Check if you have your virtual directory for the perl scripts marked as executable.

By the way, some more information about operating system and webserver is helpful for answering your question.

0
 
freak022398Author Commented:
Edited text of question
0
 
freak022398Author Commented:
win95 it is.
Marking directory as executable... how is that done??
0
 
sybeCommented:
which webserver do you use, and which operating system ?
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.