Though a simple owncloud user can upload a file on an owncloud hosted on a synology box.
He or she may not be able to download that file. Firefox will complain by saying it can’t find that file.

There is a simple fix for that on Synology DSM 5.

All one would need to do is to include: XSendFilePath /volume1 on /etc/httpd/conf/extra/mod_xsendfile.conf-user
Such that mod_xsendfile.conf-user reads like this:

LoadModule xsendfile_module modules/mod_xsendfile.so
XSendFile on
XSendFilePath /var/services/web /var/services/homes
SetEnv MOD_X_SENDFILE_ENABLED yes
XSendFilePath /volume1

The http server can be restarted with

$ httpd -k restart

Leave a comment

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.