mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-05-09 21:16:07 +00:00
add installation instructions for xsendfile
This commit is contained in:
parent
fd3cef5407
commit
5c7c1b0b26
26
doc/README.xsendfile
Normal file
26
doc/README.xsendfile
Normal file
|
@ -0,0 +1,26 @@
|
||||||
|
Howto configure mod_xsendfile
|
||||||
|
==============================
|
||||||
|
|
||||||
|
Downloading large files from SeedDMS can be slow, because they are delivered
|
||||||
|
by the PHP download script. This is a common problem not specific to SeedDMS
|
||||||
|
but to PHP scripts of this kind in general. Granting direct access on the
|
||||||
|
download file is not a option as it circumvents the access restrictions of
|
||||||
|
SeedDMS.
|
||||||
|
|
||||||
|
The Apache module xsendfile is just for this kind of controlled downloads. If
|
||||||
|
is installed and configured, SeedDMS will hand over the download to the web
|
||||||
|
server which does a much better job than the PHP script. In order to make it
|
||||||
|
work, mod_xsendfile must be installed, turned on and the path to the download
|
||||||
|
files must be set to the directory containing the document files. If your document
|
||||||
|
root ist /var/www and you extracted the quickstart archive into that directory,
|
||||||
|
then the document content directory will be at
|
||||||
|
/var/www/seeddms51x/data/1048576/ . Add the following to your apache configuration,
|
||||||
|
either globally or within a virtual host configuration. Setting the path in
|
||||||
|
an .htaccess file will not work.
|
||||||
|
|
||||||
|
XSendFile on
|
||||||
|
XSendFilePath /var/www/seeddms51x/data/1048576/
|
||||||
|
|
||||||
|
If the XSendFilePath is not set propperly, you will notice an error message
|
||||||
|
in your apache log file, probably telling you that the download file could not
|
||||||
|
be found.
|
Loading…
Reference in New Issue
Block a user