The following line can be placed within a .htaccess file in the folder you wish to have CGI execution rights.
Options +ExecCGI