Second, make sure the file permissions are set to 755.
Read more on how to troubleshoot CGI scripts.