testing CGI's

Posted on 1999-01-20
Last Modified: 2013-12-25
How can I run and debug CGI's on my home computer? This would save me time and I wouldn't have to hog the phone line. I have P120 win95b, or NT4.0 48M ram IE4, Netscape 3.
Question by:pcain
  • 3
  • 2

Accepted Solution

jconde earned 100 total points
ID: 1832365
You can install a webserver (i.e. Microsoft's Personal Web Server, Apache for Windows, etc) in one of the Windows Machines and try it out there.  If you're cgi will be running on a linux/unix environment, you will have to make minor changes (Unless your cgis are very complicated) in the source code in order to compile them.

Another way is to develope a small funcion that will read environment variables from the system and an application that will set them.


Jorge del Conde

Author Comment

ID: 1832366
I will download one of these and give it a try, I work entirely on a Unix ISP, but don't want to limit my scripts just to this OS.  They aren't very complex so I suppose if they work on personal server or even better (I guess) Apache, they will work on Unix.  

Expert Comment

ID: 1832367
They probably will, specially if you use ANSI C or ANSI C++.  Perl will do the thing too!

If you have any problems, please get in touch with me.



Author Comment

ID: 1832368
Thanks man...

Expert Comment

ID: 1832369
No problem!

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

Suggested Solutions

Title # Comments Views Activity
powershell script to add group member to other group from csv 6 57
powershell script help 5 79
Example unit tests with AngularJS 3 45
Control Number of Log Files -Perl 7 72
This tutorial will discuss the log-in process using WhizBase. In this article I assume you already know HTML. I will write the code using WhizBase Server Pages, so you need to know some basics in WBSP (you might look at some of my other articles abo…
Making a simple AJAX shopping cart Couple years ago I made my first shopping cart, I used iframe and JavaScript, it was very good at that time, there were no sessions or AJAX, I used cookies on clients machine. Today we have more advanced techno…
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 …
In this fifth video of the Xpdf series, we discuss and demonstrate the PDFdetach utility, which is able to list and, more importantly, extract attachments that are embedded in PDF files. It does this via a command line interface, making it suitable …

770 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