0
I have a problem with X-Sendfile on Apache on Debian with ownCloud. When I want to download single file I got an error:
The requested URL /owncloud/index.php/apps/files/ajax/download.php was not found on this server.
My config in sites-enabled/000-default
(and 000-default-ssl
) is
Webserver root is /media/usb/www/
and ownCloud data folder is /media/usb/owncloud/data
<Directory /media/usb/www/owncloud>
Options -Indexes FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
allow from all
SetEnv MOD_X_SENDFILE_ENABLED 1
XSendFile On
XSendFilePath /tmp/oc-noclean
XSendFilePath /media/usb/owncloud/data
</Directory>