In order to force apache to allow cgi script to run, simply create a file called .htaccess inside the directory in which you wish to run the scripts. Inser this text into the file:
Options +ExecCGI
AddHandler cgi-script .cgi .pl
apache/cgi_script.txt · Last modified: 2010/02/19 20:40 by muscardin