From 51133cdbf1eb3985860baed7cb057bb8922da7fe Mon Sep 17 00:00:00 2001 From: Daniel Berteaud Date: Tue, 1 Sep 2015 15:28:49 +0200 Subject: [PATCH] Fix AllowHosts when setting more than 2 IP --- .../templates/etc/httpd/conf/httpd.conf/WebAppVirtualHost/50Content | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/WebAppVirtualHost/50Content b/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/WebAppVirtualHost/50Content index 3e54310..77174d4 100644 --- a/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/WebAppVirtualHost/50Content +++ b/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/WebAppVirtualHost/50Content @@ -72,7 +72,7 @@ if ($allow ne ''){ $allow = "$localAccess $externalSSLAccess"; } else{ - $allow =~ s/[,;]/ /; + $allow =~ s/[,;]/ /g; } $OUT .=<<"EOF"