-
Notifications
You must be signed in to change notification settings - Fork 972
Install Apache XSendFIle
YouPHPTube edited this page Nov 21, 2019
·
8 revisions
sudo apt-get install libapache2-mod-xsendfile && sudo a2enmod xsendfile
sudo nano /etc/apache2/apache2.conf
or in your virtual hosts
/etc/apache2/sites-available/youphptube.conf
/etc/apache2/sites-available/youphptube-le-ssl.conf
Edit the file and add this
<Directory /var/www/html/YouPHPTube/>
Options Indexes FollowSymLinks
XSendFile on
XSendFilePath /var/www/html/YouPHPTube/
AllowOverride All
Require all granted
Order Allow,Deny
Allow from All
</Directory>