From 827defed774271794198861208f9c84185bc2668 Mon Sep 17 00:00:00 2001 From: Nick Daly Date: Sun, 10 Nov 2013 16:31:23 -0600 Subject: [PATCH] Allow Apache to serve Plinth's static files correctly. When the */plinth/static* configuration is above */plinth*, it doesn't work. Move it below the */plinth* configuration so static files will be served correctly. --- share/apache2/plinth.conf | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/share/apache2/plinth.conf b/share/apache2/plinth.conf index 512e2df9d..3347c3fa0 100644 --- a/share/apache2/plinth.conf +++ b/share/apache2/plinth.conf @@ -24,15 +24,6 @@ ## Shared options. ProxyPreserveHost on DocumentRoot /usr/share/plinth - ProxyPass /plinth/static ! - - 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 of plinth.(servername) # ServerName plinth @@ -59,5 +50,14 @@ Allow from 172.16.0.0/12 Allow from 192.168.0.0/16 + ProxyPass /plinth/static ! + + 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 +