From 5683a2b33f95b0e61b436c36788af5f2813d1c1c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9E=97=E5=8D=9A=E4=BB=81=28Buo-ren=2C=20Lin=29?= Date: Wed, 15 Apr 2020 22:47:37 +0800 Subject: [PATCH] Disable mod_dir in DAV share to avoid DoS MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fixes #1. Signed-off-by: ๆž—ๅšไป(Buo-ren, Lin) --- 2.4/conf/conf-available/dav.conf | 1 + 1 file changed, 1 insertion(+) diff --git a/2.4/conf/conf-available/dav.conf b/2.4/conf/conf-available/dav.conf index caacd03..3dafb62 100644 --- a/2.4/conf/conf-available/dav.conf +++ b/2.4/conf/conf-available/dav.conf @@ -3,6 +3,7 @@ Alias / "/var/lib/dav/data/" Dav On Options Indexes FollowSymLinks + DirectoryIndex disabled AuthType Basic AuthName "WebDAV"