Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

CGI Windows 3.51 NT Server

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

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

Question has a verified solution.

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

If you get a (Blue Screen of Death), your system writes a small file called a minidump. Your first step is to make certain your computer is setup to record memory dumps. Right click My Computer, choose properties. Click on the advanced tab, an…
In threads here at EE, each comment has a unique Identifier (ID). It is easy to get the full path for an ID via the right-click context menu. However, we often want to post a short link within a thread rather than the full link. This article shows a…
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 look for a specific file type in a local or remote server directory using PHP.
Suggested Courses

927 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