I solved the problem. For some reason (production staff) disabled the Apache CGI module.
Originally Posted by newar
You must make the following changes in the /opt/zimbra/conf/httpd.conf
Enable the module (uncomment)
Change the module configuration (uncomment)
LoadModule cgid_module modules/mod_cgid.so
Done it in CGI scripts will work.
# ScriptSock: On threaded servers, designate the path to the UNIX
# Socket used to communicate communication with the CGI daemon of mod_cgid.