mirror of
https://github.com/haiwen/seafile-admin-docs.git
synced 2025-12-26 02:32:50 +00:00
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
This commit is contained in:
parent
d3b468fef1
commit
e3798df069
|
|
@ -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
|
||||
|
||||
<Location /media>
|
||||
|
|
|
|||
Loading…
Reference in New Issue