Solved

CGI Windows 3.51 NT Server

Posted on 1997-02-20
1
299 Views
Last Modified: 2013-12-25
How do I run CGI script on a Windows NT 3.5 Server?
0
Comment
Question by:eal1487
[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
 
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

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

Recently I have been answering a lot of questions like this in IT forums that I frequent. The question posed is usually something along the lines of "We have software X installed and need to uninstall it for reason Y" or some other variant of the sa…
In this tutorial I will show you how to make a simple HTML bar chart with the usage of WhizBase, If you want more information about WhizBase please read my previous articles at http://www.experts-exchange.com/ARTH_5123186.html (http://www.experts-ex…
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.

635 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