Merge branch '389-fix-apache-media' into 'develop'

Resolve "Fix Apache permission block on media files"

Closes #389

See merge request funkwhale/funkwhale!349
This commit is contained in:
Eliot Berriot 2018-07-23 16:49:07 +00:00
commit 03efc0b5ab
2 changed files with 20 additions and 1 deletions

View File

@ -0,0 +1,19 @@
Fix Apache2 permission issue preventing `/media` folder from being served correctly (#389)
Fix Apache2 configuration file for media block [Manual action required]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
The permission scope on the current Apache2 configuration file is too narrow, preventing thumbnails from being served.
On Apache2 setups, you have to replace the following line::
<Directory /srv/funkwhale/data/media/albums>
with::
<Directory /srv/funkwhale/data/media>
You can now restart your server::
sudo systemctl restart apache2

View File

@ -111,7 +111,7 @@ Define MUSIC_DIRECTORY_PATH /srv/funkwhale/data/music
Require all granted Require all granted
</Directory> </Directory>
<Directory /srv/funkwhale/data/media/albums> <Directory /srv/funkwhale/data/media>
Options FollowSymLinks Options FollowSymLinks
AllowOverride None AllowOverride None
Require all granted Require all granted