Hi,
I use this thread on knowledge base to setup up xSendFile on one of my file server -
https://support.mfscripts.com/public/kb_view/1/
I have Apache + Nginx server on Debian 8.9 Jessie. + VestaCP panel
I add this to apache2.conf :
<IfModule mod_xsendfile.c>
<Files *.php>
XSendFile On
SetEnv MOD_X_SENDFILE_ENABLED 1
</Files>
</IfModule>
Also i add this to .htaccess file on my fileserver
But if I add :
XSendFilePath /home/path/to/yetishare/install/public_html/
and restart the apache i have the error :
Job for apache2.service failed. See 'systemctl status apache2.service' and 'journalctl -xn' for details.
So I remove the XSendFilePatch from apache config and restart is work but xSendFile not. Also I active on the admin page server xSendFile improvment.
If I try download files i have this error :
Not Found
The requested URL /index.php was not found on this server.
Anybody have a idea how can I configure correctly xSendFile on my server?
I use this thread on knowledge base to setup up xSendFile on one of my file server -
https://support.mfscripts.com/public/kb_view/1/
I have Apache + Nginx server on Debian 8.9 Jessie. + VestaCP panel
I add this to apache2.conf :
<IfModule mod_xsendfile.c>
<Files *.php>
XSendFile On
SetEnv MOD_X_SENDFILE_ENABLED 1
</Files>
</IfModule>
Also i add this to .htaccess file on my fileserver
But if I add :
XSendFilePath /home/path/to/yetishare/install/public_html/
and restart the apache i have the error :
Job for apache2.service failed. See 'systemctl status apache2.service' and 'journalctl -xn' for details.
So I remove the XSendFilePatch from apache config and restart is work but xSendFile not. Also I active on the admin page server xSendFile improvment.
If I try download files i have this error :
Not Found
The requested URL /index.php was not found on this server.
Anybody have a idea how can I configure correctly xSendFile on my server?