Questions and Answers

Today seems like a good day to break open the old electronic mail bag and see what falls out:

Click on the entries above to jump to an answer below.

Q: CGI scripts are too complex and/or slow on my web server. I need to find some ways to improve the speed of my scripts without buying new, expensive server hardware.

A:There are many options that will allow you to radically improve the speed of your CGI scripts (or simpler alternatives), run them in the same process with your web server (instead of forking for every request), and even embed them in your HTML files (similar but superior to Microsoft's Active Server Pages). Check out these links for more information on free software that's available to help speed things up:

Maybe also consider upgrading your web server software. On Unix-based platforms, you can try the following free software packages: Apache, which offers a multitude of configuration options, or AOLServer, the same software the runs America Online's main web site (http://www.aol.com).

Q: I want some examples that show how a web server can be written entirely in Perl. How can I set up a simple proxy server that will let many machines on a local network connect to the Internet?

A: Perl is quite a versatile language. Take a look at these links for more information:

Q: I've heard about Dynamic HTML, but I've seen only a few examples out there. Where can I learn more about it and get more information?

A: Well, this isn't exactly related to CGI programming, because it runs on the client's web browser. Combined with Cascading Style Sheets (CSS), it allows much better control over the placement and rendering of HTML pages. You'll need to use Netscape Communicator 4.0 or later or Microsoft Internet Explorer 4.0 or later. Even worse, however, code written for one browser will not work correctly on the other. Anyway, check out these links for more:

Author: Doug Steinwand
Date: [04/28/98]

More articles about CGI
More articles by Doug Steinwand
Author Biography