diff --git a/server/plugins-available/apache2_plugin.inc.php b/server/plugins-available/apache2_plugin.inc.php index 4021a0a1a0252522ef63ee2801a54e5e1c7a3b3a..1c7b9181042d488ab4f2cd0b0d7a40e129734083 100644 --- a/server/plugins-available/apache2_plugin.inc.php +++ b/server/plugins-available/apache2_plugin.inc.php @@ -569,7 +569,7 @@ class apache2_plugin { $cgi_tpl = new tpl(); $cgi_tpl->newTemplate("php-cgi-starter.master"); - $cgi_tpl->setVar('open_basedir',$data["new"]["document_root"]); + $cgi_tpl->setVar('open_basedir', "/var/www/" . $data["new"]["domain"]); $cgi_tpl->setVar('php_cgi_bin',$cgi_config["cgi_bin"]); $cgi_starter_script = escapeshellcmd($cgi_starter_path.$cgi_config["cgi_starter_script"]);