Solved

Perl CGI with FrontPage and Win95

Posted on 1997-02-12
1
303 Views
Last Modified: 2013-12-25
I am running FrontPage97 (although it happened with 1.1 as well) and Win95, and reading the resulting web with Netscape 3. I'm trying to link my own perl script onto a form defined with FrontPage. I can access the correct menu to input the name of the script, and from looking at the resulting HTML I know this works properly. The perl script itself does not generate any errors if I run it from an MSDOS command line.

The problem comes when trying to run this script using the "submit" button I have on the form. The FrontPage server doesn't seem to be able to recognize the file as a perl script to be run. The file has the extension .pl, and perl is on the search path. I've also tried making the action "perl.exe?getmarks.pl" with no success. Netscape either
can't find the file or won't run it, depending on whether
I put it in the cgi-bin directory.

o the question is this: what do I have to do to make the FrontPage server run a perl script? Microsoft has obviously acticipated doing this, since all the hooks are there, but for some reason I can't get a perl script to work.
0
Comment
Question by:walkey
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 

Accepted Solution

by:
tfiedler010897 earned 100 total points
ID: 1827625
You will need to tell Frontpage that the extension pl is a cgi script and needs to be executed by the server. Typically, you do not include the perl.exe interp. in the command line. YOu would instead specify that the extension .pl is a cgi type and that the application that executes it is perl.exe.

You would have a link somewhat similar to this one: http://www.yourdomain.com/cgi-bin/getmarks.pl and inside your script you should have as the first line a string that looks like the following:
#/usr/bin/perl

All that remains is the association of the pl file extension with perl.exe. Unfortunately I do not know how frontpage does this association.

Netscape servers have a fairly good interface for enabling this activity. As well as UNIX.


0

Featured Post

Get 15 Days FREE Full-Featured Trial

Benefit from a mission critical IT monitoring with Monitis Premium or get it FREE for your entry level monitoring needs.
-Over 200,000 users
-More than 300,000 websites monitored
-Used in 197 countries
-Recommended by 98% of users

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Shoutout to Emily Plummer (http://www.experts-exchange.com/members/eplummer26.html) for giving me this article! She did most of it, I just finished it up and posted it for her :)    Introduction In a previous article (http://www.experts-exchang…
What is Node.js? Node.js is a server side scripting language much like PHP or ASP but is used to implement the complete package of HTTP webserver and application framework. The difference is that Node.js’s execution engine is asynchronous and event…
The viewer will learn how to dynamically set the form action using jQuery.
HTML5 has deprecated a few of the older ways of showing media as well as offering up a new way to create games and animations. Audio, video, and canvas are just a few of the adjustments made between XHTML and HTML5. As we learned in our last micr…

634 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question