Solved

CGI on NT Workstation

Posted on 1997-03-08
3
265 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

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…
Active Directory replication delay is the cause to many problems.  Here is a super easy script to force Active Directory replication to all sites with by using an elevated PowerShell command prompt, and a tool to verify your changes.
Learn how to match and substitute tagged data using PHP regular expressions. Demonstrated on Windows 7, but also applies to other operating systems. Demonstrated technique applies to PHP (all versions) and Firefox, but very similar techniques will w…
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.

863 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now