From 1e317cfb37c8fc71e741a7cee6b59c426b4e51ca Mon Sep 17 00:00:00 2001 From: Sunil Mohan Adapa Date: Fri, 14 Nov 2014 17:18:58 +0530 Subject: [PATCH] Allow more local IP addresses in Apache configuration --- data/etc/apache2/sites-available/plinth-ssl.conf | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/data/etc/apache2/sites-available/plinth-ssl.conf b/data/etc/apache2/sites-available/plinth-ssl.conf index c96107003..ef91569d6 100644 --- a/data/etc/apache2/sites-available/plinth-ssl.conf +++ b/data/etc/apache2/sites-available/plinth-ssl.conf @@ -33,9 +33,14 @@ 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 + Allow from 127.0.0.0/8 # IPv4 local addresses + Allow from 169.254.0.0/16 # IPv4 link local addresses + Allow from 10.0.0.0/8 # IPv4 class A private addresses + Allow from 172.16.0.0/12 # IPv4 class B private addresses + Allow from 192.168.0.0/16 # IPv4 class C private addresses + Allow from ::1 # IPv6 local address + Allow from fe80::/10 # IPv6 link local addresses + Allow from fc00::/7 # IPv6 private addresses ProxyPass /plinth/static !