This page allows you to activate CGI as a file type for part of your server. Be sure to choose the directory to activate CGI in! Sometimes, it makes more sense to keep CGI programs near the HTML that refers to them. Or, you may not want to have the programs kept in a central directory. That way, if you have many people affecting your document root, they can only have permission to affect that section of the document root. With CGI active as a file type, any files with the .cgi extension will be interpreted as CGI programs.

Alternately, you can make a dedicated directory for CGI programs. If you do this, any files in that directory will be interpreted as CGI programs.