laking
2011-04-02 0930f5fc2fb0d46757cc6e8ba50efcb34e1f7d33
server/plugins-available/apache2_plugin.inc.php
@@ -290,6 +290,9 @@
         exec('mv '.$data['old']['document_root'].' '.$new_dir);
         $app->log('Moving site to new document root: mv '.$data['old']['document_root'].' '.$new_dir,LOGLEVEL_DEBUG);
         // Handle the change in php_open_basedir
         $data['new']['php_open_basedir'] = str_replace($data['old']['document_root'],$data['new']['document_root'],$data['old']['php_open_basedir']);
         //* Change the owner of the website files to the new website owner
         exec('chown --recursive --from='.escapeshellcmd($data['old']['system_user']).':'.escapeshellcmd($data['old']['system_group']).' '.escapeshellcmd($data['new']['system_user']).':'.escapeshellcmd($data['new']['system_group']).' '.$new_dir);
@@ -1262,13 +1265,10 @@
                  */
                  $fn = substr($file, 0, strlen($file) - strlen('.htdigest'));
                  $output .= "\n";
<<<<<<< .working
                  $output .= "      Alias /" . $fn . ' ' . $webdavRoot . '/' . $fn . "\n";
                  $output .= "      <Location /" . $fn . ">\n";
=======
                  // $output .= "      Alias /" . $fn . ' ' . $webdavRoot . '/' . $fn . "\n";
                  // $output .= "      <Location /" . $fn . ">\n";
                  $output .= "      Alias /webdav/" . $fn . ' ' . $webdavRoot . '/' . $fn . "\n";
                  $output .= "      <Location /webdav/" . $fn . ">\n";
>>>>>>> .merge-right.r2129
                  $output .= "        DAV On\n";
                  $output .= "        AuthType Digest\n";
                  $output .= "        AuthName \"" . $fn . "\"\n";