Apache's defaults are good for CGI. You just need to put your scripts in the proper folder. You can change which folder that is in the configurations. In the configuration file, it'll tell you which folder it is.
In linux servers, it should be /usr/lib/cgi-bin.