From e3798df069478f9119915375e04e6a0a22924f6f Mon Sep 17 00:00:00 2001 From: Sven Date: Wed, 5 May 2021 15:23:21 +0200 Subject: [PATCH] apache config: fix office preview References: * https://httpd.apache.org/docs/2.4/en/mod/core.html#allowencodedslashes * https://forum.seafile.com/t/document-preview-xlsx-with-libreoffice-not-working-but-docx-pdf-md-works/9252/30?u=shoeper * https://serverfault.com/a/143342 --- manual/deploy/deploy_with_apache.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/manual/deploy/deploy_with_apache.md b/manual/deploy/deploy_with_apache.md index 7fed1e54..92533275 100644 --- a/manual/deploy/deploy_with_apache.md +++ b/manual/deploy/deploy_with_apache.md @@ -36,6 +36,8 @@ Modify Apache config file: DocumentRoot /var/www Alias /media /home/user/haiwen/seafile-server-latest/seahub/media + AllowEncodedSlashes On + RewriteEngine On