ResolutionTo do it on a per domain basis, create vhost.conf for a domain and put into it:
<Files ~ (\.cgi$)>
allow from all
$PRODUCT_ROOT_D/admin/sbin/websrvmng -v -a
for the changes to take effect. Now, all files with '.cgi' extension will be executed as usual CGI scripts in /cgi-bin/.
To enable CGI in httpdocs for the whole server just uncomment the "AddHandler cgi-script .cgi" directive in httpd.conf and restart Apache.