Hi Sean,
many thanks for your support and your decision to install mod_xsendfile.
But I have some problem getting it to work.
I added this line in .htaccess
file:
XSendFile on
My PHP is like this:
<php
$filename = <absolute_file_path>;
$basename = basename($filename);
header("X-Sendfile: $filename");
header("Content-Type: application/octet-stream");
header("Content-Disposition: attachment; filename=\"$basename\"");
But if I invoking script I only get a 0-byte file.
Is there any restriction on the path of the file to be served by mod_xsendfile?
I tried using a relative (to %{DOCUMENT_ROOT}) path, but still I didn't get any results.
Best regards