Solved

CGI Windows 3.51 NT Server

Posted on 1997-02-20
1
294 Views
Last Modified: 2013-12-25
How do I run CGI script on a Windows NT 3.5 Server?
0
Comment
Question by:eal1487
1 Comment
 
LVL 1

Accepted Solution

by:
tark earned 100 total points
ID: 1827787
 In order to run a CGI script, there are several elements that must be in place.  First, you need to have a web server running on the same machine (if you plan on having web users utilize your script.  For testing the CGI script, you can usually just do it right on the command line).  Second, the CGI script must be in a directory that the web server can access (usually, this is something akin to c:\www\cgi-bin).  Third, are you wanting to run a CGI _script_, or a CGI _program_?  Most CGI _scripts_ are written in Perl (which is available for NT) due to the ease of implementation, but this would mean you'd want a Perl interpreter around on your machine, and should point your script to it.  If it's a CGI _program_ (say, written in C, Pascal, etc. - whatever you can compile on your NT box), then you can just put the binary in the right directory.
  You can test your CGI by (usually) running it right on the command line.  Once you have it debugged, it is invoked via user interaction/access through your web server.  The actual invocation can happen in more than one way.  For instance, I could have a CGI that generated an HTML page on-the-fly, and it might work by simply specifying it in the URL location.  I might also invoke it by specifying it as the value for the 'ACTION' attribute in a '<FORM>' tag.  There are many choices here, so your best bet is to make sure everything is in place, and then experiment with which method(s) you want to use to interact with the CGI...  That is a whole 'nother topic area!  Hope that helps!
0

Featured Post

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

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

In this tutorial I will aim to show you how simple is making a small application in WhizBase, how to add, remove and update data in the DB. I will make a small address book application where you can add, browse, update and remove addresses. I wi…
In this tutorial I will show you how to provide a dynamic RTF document on your website generated with data from your database. For this tutorial you will need Microsoft Word or WordPad, WhizBase and Microsoft Access. In this tutorial I will show …
Learn the basics of if, else, and elif statements in Python 2.7. Use "if" statements to test a specified condition.: The structure of an if statement is as follows: (CODE) Use "else" statements to allow the execution of an alternative, if the …
The viewer will learn how to dynamically set the form action using jQuery.

773 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