?
Solved

CGI Windows 3.51 NT Server

Posted on 1997-02-20
1
Medium Priority
?
302 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 200 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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

This tutorial will discuss fancy secure registration forms, with AJAX technology support. In this article I assume you already know HTML and some JS. I will write the code using WhizBase Server Pages, so you need to know some basics in WBSP (you mig…
This article is meant to give a basic understanding of how to use R Sweave as a way to merge LaTeX and R code seamlessly into one presentable document.
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 …
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

719 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