Solved

CGI on NT Workstation

Posted on 1997-03-08
3
266 Views
Last Modified: 2013-12-25
Is it possible to do CGI on NT Workstation?  I have a book on CGI that says it's possible (no instructions of course), but I checked in the Resource Kit and found nothing aboiut CGI.  
I've installed Peer Web services, but every time I try to execute a CGI script (written in Perl), NT fails to recognize the program as CGI and instead downloads it.
0
Comment
Question by:Johnny5
3 Comments
 
LVL 1

Expert Comment

by:chump
ID: 1827493
I've written CGI scripts in C. They are running on NT workstation with Peer Web services.
Perhaps you need a Perl interpreter?
0
 

Accepted Solution

by:
jmalone earned 50 total points
ID: 1827494
You simply need to install perl for NT.  You can find it at this url http://www.hip.activeware.com/ After you do that simply map your desired perl script extension .pl or .cgi or whatever to the perl.exe or perl.dll file.  This is done in the registry.  After you get the mappings correct you should be able to run the perl scripts from a browser.
0
 
LVL 1

Expert Comment

by:saji042497
ID: 1827495
One requirement that I have often come up with most CGI on NT is a need for extracting data from applications written in DOS programs like CLIPPER, BASIC, TURBO C etc.

This is a bit tricky because every DOS applications in WINDOWS NT is run in its own protected environment space. This will prevent the HTML output pages of these applications to be picked up by the web server.

There are some good programs availible that can act as a intermidate layer and exchange data across. CGISHELL is a good program that I have used often. You can obtain a shareware version of it from www.greyware.com.


0

Featured Post

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

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…
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…
Learn the basics of while and for loops in Python.  while loops are used for testing while, or until, a condition is met: The structure of a while loop is as follows:     while <condition>:         do something         repeate: The break statement m…
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.

776 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