From d84150b103ed786c0521108e154685564f4072ae Mon Sep 17 00:00:00 2001 From: Nick Daly Date: Fri, 18 Oct 2013 16:59:35 -0500 Subject: [PATCH] Fix DocumentRoot: Apache can serve Plinth's static files. Without this change, Apache tries to serve the static files from /dev/null/static, which never exists, so users will see all exciting manner of errors. I've assumed that the correct directory is the default directory that Freedom-Maker installs Plinth to, currently ``/home/fbx/plinth``. Other distributions will need to patch this out to their preferred location, like ``/usr/share/plinth/static``. --- share/apache2/plinth.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/share/apache2/plinth.conf b/share/apache2/plinth.conf index dff0f7d93..f3054aaaf 100644 --- a/share/apache2/plinth.conf +++ b/share/apache2/plinth.conf @@ -22,7 +22,7 @@ ## Use this rule to hang plinth off of plinth.(servername) ## The DocumentRoot is set by fabric - DocumentRoot /dev/null + DocumentRoot /home/fbx/plinth/static ServerName plinth ServerAlias plinth.* ProxyPreserveHost on