View Single Post
  #18  
Old 4th December 2005, 14:23
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,711
Thanks: 1,899
Thanked 2,702 Times in 2,545 Posts
Default

Quote:
Originally Posted by ezfilez
this is the only make_vhost found in the file


function make_vhost($server_id) {
global $mod,$go_info;

$mod->log->caselog("cp -fr $this->vhost_conf $this->vhost_conf~", $this->FILE, __LINE__);

// alte Frontpage-Webs feststellen
if(is_file($mod->system->server_conf["server_path_frontpage"])) exec("grep '## FP-WEB' $this->vhost_conf | cut -f4 -d/ | cut -f2 -db", $old_fp_webs);

$apache_version = $this->apache_version();
if($apache_version == 1){
$fp_resource_config = "ResourceConfig /dev/null";
$fp_access_config = "AccessConfig /dev/null";
$web_port = "";
$ssl_port = "";
}
if($apache_version == 2){
$fp_resource_config = "";
$fp_access_config = "";
$web_port = ":80";
$ssl_port = ":443";
}

Yes, that's the function I'm talking about.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote