Actually i don't know.
As i see this
foreach ($certnamelist as $ip => $certname) {
$count = 0;
foreach ($ports as &$port) {
$protocol = ($count === 0) ? "http://" : "https://";
if ($disabled) {
<?php
if ($count !== 0) {
?>
in domains.tpl not work properly.
If you add domain without SSL as i know there must be only virtualhost*:80, or if 443 is added it must be added without this:
<IfModule mod_ssl.c>
SSLEngine On
SSLCertificateFile /home/kloxo/httpd/ssl/<?php echo $certname; ?>.crt
SSLCertificateKeyFile /home/kloxo/httpd/ssl/<?php echo $certname; ?>.key
SSLCACertificatefile /home/kloxo/httpd/ssl/<?php echo $certname; ?>.ca
</IfModule>