Adding
PHP Code:
$mod->system->add_user_to_group("web".$doc_id,"apache");
to /ispconfig/scripts/lib/config.lib.php adds the user apache when the initial website is added to ispconfig. But when a user is added to a website then this is overwritten under a different function. I cannot locate the function.