Solved

CGI Windows 3.51 NT Server

Posted on 1997-02-20
1
292 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

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

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…
Ever wondered how to display how many visitors you have online. In this tutorial I will show you an easy but effective way to display the number of online visitors in WhizBase. In this article I assume you have read my previous articles and know …
Learn how to match and substitute tagged data using PHP regular expressions. Demonstrated on Windows 7, but also applies to other operating systems. Demonstrated technique applies to PHP (all versions) and Firefox, but very similar techniques will w…
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.

746 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now