Configuring Apache to run CGI programs isn't that hard. First, you need to assign an alias for your script directory. So you create a special location, called an alias, to the actual CGI directory. Edit your httpd.conf file and add the line below: ScriptAlias /cgi-bin/ /usr/local/apache/share/cgi-bin/ However, this does not configure Apache to run the programs it finds in the cgi-bin directory. To actually execute programs, you need to edit the access.conf file by adding a section like this: <Directory /usr/local/apache/share/cgi-bin> Options ExecCGI AddHandler cgi-script .cgi .pl </Directory> Here is how CGI works You need a web page that uses forms to call the cgi script. Create a plain text file called testcgi.html Here it is: "http://www.w3.org/TR/html4/strict.dtd"> <html><head> <meta content="text/html; charset=ISO-8859-1" http-equiv="content-type"> <title>testcgi</title> </head>...