From 96708c67a91442664873f7fd98b360314e8cda02 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:28:38 +0800 Subject: [PATCH] Fix non-ASCII filename garbled in web index page MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fixes #18. Credit-goes-to: CentOS7下安装Apache WebDAV教程 – NT宝贝网 Signed-off-by: 林博仁(Buo-ren, Lin) --- 2.4/conf/conf-available/dav.conf | 2 ++ 1 file changed, 2 insertions(+) diff --git a/2.4/conf/conf-available/dav.conf b/2.4/conf/conf-available/dav.conf index caacd03..cbaf85e 100644 --- a/2.4/conf/conf-available/dav.conf +++ b/2.4/conf/conf-available/dav.conf @@ -10,6 +10,8 @@ Alias / "/var/lib/dav/data/" Require valid-user + + IndexOptions Charset=utf-8 # These disable redirects on non-GET requests for directories that