From 8eaf74a4b417b154355658b952f419420fb3fd6a Mon Sep 17 00:00:00 2001 From: Andreas Erhard Date: Fri, 4 Aug 2017 13:58:41 +0200 Subject: [PATCH] added apache config for serving sounds to clients ... and playing them on client side addition to 55e8e04bb25a7ac8ccde6e38b889ec4fad29c7de --- apache/010-soundboard.conf | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/apache/010-soundboard.conf b/apache/010-soundboard.conf index 84372a9..03cb961 100644 --- a/apache/010-soundboard.conf +++ b/apache/010-soundboard.conf @@ -1,10 +1,10 @@ Listen 5000 - #ServerName example.com - WSGIDaemonProcess soundboard user=www-data group=www-data threads=5 WSGIScriptAlias / /var/www/soundboard/soundboard.wsgi + Alias /sounds /home/pi/sounds + WSGIProcessGroup soundboard WSGIApplicationGroup %{GLOBAL} @@ -12,4 +12,14 @@ Listen 5000 Order deny,allow Allow from all + + + Options FollowSymLinks + AllowOverride All + Order deny,allow + Allow from all + Require all granted + + +