From f18d4a9e4887a3e3e99d935370a8a9fcc80c4c8c Mon Sep 17 00:00:00 2001 From: James Valleroy Date: Sun, 20 Oct 2013 09:04:31 -0400 Subject: [PATCH] Change DocumentRoot in apache configuration, and add permissions for /static. --- share/apache2/plinth.conf | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/share/apache2/plinth.conf b/share/apache2/plinth.conf index f3054aaaf..343dda538 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 /home/fbx/plinth/static + DocumentRoot /home/fbx/plinth ServerName plinth ServerAlias plinth.* ProxyPreserveHost on @@ -36,6 +36,14 @@ Allow from 172.16.0.0/12 Allow from 192.168.0.0/16 + + Order Deny,Allow + Deny from All + Allow from 10.0.0.0/8 + Allow from 172.16.0.0/12 + Allow from 192.168.0.0/16 + Require all granted + ## Use this rule to hang plinth off a subdir. ## Make sure to provide plinth with a default directory: /plinth