• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 279
  • Last Modified:

CGI on NT Workstation

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.
1 Solution
I've written CGI scripts in C. They are running on NT workstation with Peer Web services.
Perhaps you need a Perl interpreter?
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.
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.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now