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``.
This commit is contained in:
Nick Daly 2013-10-18 16:59:35 -05:00
parent ee5609a2e3
commit d84150b103

View File

@ -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