make a link to the cgi script named scriptName.cgid by doing ln scriptName.cgid scriptName.cgi then do chmod 755 scriptName.cgid then view it from the browser to see exactly what (if anything) is being output by the program.