From fd96e4b42e55f65f3acf7d33438b9cf0741da04f Mon Sep 17 00:00:00 2001 From: "Michael Kaufmann (d00p)" Date: Tue, 8 Jun 2010 11:13:22 +0000 Subject: [PATCH] - give ssl-vhost files another name that non-ssl vhost files, now really fixes #254 --- scripts/jobs/cron_tasks.inc.http.20.lighttpd.php | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/scripts/jobs/cron_tasks.inc.http.20.lighttpd.php b/scripts/jobs/cron_tasks.inc.http.20.lighttpd.php index bda3585e..a5141408 100644 --- a/scripts/jobs/cron_tasks.inc.http.20.lighttpd.php +++ b/scripts/jobs/cron_tasks.inc.http.20.lighttpd.php @@ -283,10 +283,18 @@ class lighttpd if((int)$domain['parentdomainid'] == 0) { $vhost_no = '51'; + if($ssl == '1') + { + $vhost_no = '61'; + } } else { $vhost_no = '50'; + if($ssl == '1') + { + $vhost_no = '60'; + } } $vhost_filename = makeCorrectFile($this->settings['system']['apacheconf_vhost'].'/vhosts/'.$vhost_no.'_'.$domain['domain'].'.conf');