Some times, when we try to run a cgi script, apache throws an error message “Internal Server Error”.
The possible solutions are:
–> The cgi script needs the to have the permission set as 755 if mod_suexec is not enabled in httpd.
–> The cgi script contains an error which can be found by checking the logs (usually /var/log/httpd/error_log).