SymptomsCGI scripts are not working on some domains, even though CGI is enabled in their Web hosting settings.
In fact configuration files for those domains will not contain
ScriptAlias "/cgi-bin/" "/var/www/vhosts/<domain_name>/cgi-bin/
entry In "/var/www/vhosts/<domain_name>/conf/<some_digits>_httpd.include”, which is needed for CGI to work.
CauseThis behavior will occur if some application is installed into www-root directory of the domain. In this case CGI will be disabled by design.
The above design has been implemented because some site applications require CGI support for normal operation. If installed to document root of a domain, such applications can customize Apache configuration which may become corrupted if CGI support is not disabled on the domain.
A feature request have been submitted to include the above explanation to the product GUI.