To run CGI scripts with Apache, you need to _.
change the ownership of the script to Apache
make the script executable and set the httpd_enable_cgi SELinux boolean
httpd_enable_cgi
make the script executable
compile the script with a CGI compiler