Hello,
Summary:
I am looking for a solution regarding reading permissions in apache2/ubuntu
I have a source video which plays without any issue on the website. File is located into apache2
directory.
What I need to do is to move the file into another directory which can't be accessible from outside but it accepts read request coming from apache2 so that it will only play on website.
Detail:
Is there a way to play an m3u8
source video on a website where m3u8
is not located under apache2 directory.
Let's say:
Apache2
directory: /home/html/
Source file located: /mnt/1.m3u8
excerpted from index.html
file:
<source type="application/x-mpegURL" src="/mnt/1.m3u8">
directory section of /etc/apache2/sites-available/000*.conf
:
<Directory />
Options FollowSymLinks
AllowOverride None
</Directory>
<Directory /home/html>
Options Indexes FollowSymLinks MultiViews
AllowOverride All
Require all granted
</Directory>
Maybe I need to change chown + chmod + apache2
settings..
Please let me know if such a thing can be done.
Thank you
Boris