tbrehm
2011-02-22 bf47b513193e764bd8ae5d516389f8becfb061cc
server/plugins-available/apache2_plugin.inc.php
@@ -491,6 +491,9 @@
         // make temp directory writable for the apache and website users
         $this->_exec("chmod 777 ".escapeshellcmd($data["new"]["document_root"]."/tmp"));
         // Set Log symlink to 755 to make the logs accessible by the FTP user
         $this->_exec("chmod 755 ".escapeshellcmd($data["new"]["document_root"])."/log");
         $command = 'usermod';
         $command .= ' --groups sshusers';
@@ -894,6 +897,9 @@
         $app->log("Apache status is: ".$apache_online_status_before_restart,LOGLEVEL_DEBUG);
         $app->services->restartService('httpd','restart');
         // wait a few seconds, before we test the apache status again
         sleep(2);
      
         //* Check if apache restarted successfully if it was online before
         $apache_online_status_after_restart = $this->_checkTcp('localhost',80);