1. Edit srm.conf to install for cgi script handler:
AddHandler cgi-script .cgi
2. Edit access.conf to allow ExecCGI:
Options ExecCGI
Some Apache installations use "unified setup", in this case you'll find the aforementioned directives in the main server config file, httpd.conf.