diff --git a/server/plugins-available/apache2_plugin.inc.php b/server/plugins-available/apache2_plugin.inc.php index a9b321f2cf42478630249c50bfa661c5e4e77c07..e8b2feb7e17acd999afcaf51b41388d6f1b850d3 100644 --- a/server/plugins-available/apache2_plugin.inc.php +++ b/server/plugins-available/apache2_plugin.inc.php @@ -2789,7 +2789,11 @@ class apache2_plugin { $output .= " DAV On\n"; $output .= ' BrowserMatch "MSIE" AuthDigestEnableQueryStringHack=On'."\n"; $output .= " AuthType Digest\n"; - $output .= " AuthName \"Restricted Area\"\n"; + if($fn != '' && $fn != '/') { + $output .= " AuthName \"" . $fn . "\"\n"; + } else { + $output .= " AuthName \"Restricted Area\"\n"; + } $output .= " AuthUserFile " . $webdavRoot . '/' . $file . "\n"; $output .= " Require valid-user \n"; $output .= " Options +Indexes \n";