tbrehm
2010-10-26 cba976066e756cd142933b8bb55878d435e0db0b
Fixed: FS#1381 - correct webdav setup
1 files modified
6 ■■■■■ changed files
server/plugins-available/apache2_plugin.inc.php 6 ●●●●● patch | view | raw | blame | history
server/plugins-available/apache2_plugin.inc.php
@@ -1255,8 +1255,10 @@
                        */
                        $fn = substr($file, 0, strlen($file) - strlen('.htdigest'));
                        $output .= "\n";
                        $output .= "      Alias /" . $fn . " " . $webdavRoot . "/" . $fn . "\n";
                        $output .= "      <Location /" . $fn . ">\n";
                        //$output .= "      Alias /" . $fn . " " . $webdavRoot . "/" . $fn . "\n";
                        //$output .= "      <Location /" . $fn . ">\n";
                        $output .= "      Alias /webdav/" . $fn . ' ' . substr($webdavRoot,0,-3) . '/' . $fn . "\n";
                        $output .= "      <Location /webdav/" . $fn . ">\n";
                        $output .= "        DAV On\n";
                        $output .= "        AuthType Digest\n";
                        $output .= "        AuthName \"" . $fn . "\"\n";