Thanks M B, that's really helpful. However, I have checked my version of OnDaemonRun.hook.php and it appears to be correct. But, if I create a new domain in zpanel the code added to httpd-vhosts.conf for the new domain includes this block:
ScriptAlias /cgi-bin/ "/_cgi-bin/"
<location /cgi-bin>
AddHandler cgi-script .cgi .pl
Options ExecCGI -Indexes
</location>
Where could this be coming from and how do I disable PERL/CGI from zPanel? Can I force zPanel to recreate the httpd-vhosts.conf file?
Thanks,
Cliff
ScriptAlias /cgi-bin/ "/_cgi-bin/"
<location /cgi-bin>
AddHandler cgi-script .cgi .pl
Options ExecCGI -Indexes
</location>
Where could this be coming from and how do I disable PERL/CGI from zPanel? Can I force zPanel to recreate the httpd-vhosts.conf file?
Thanks,
Cliff