From fee47e0c9c3798c8e39aa29472f5036f62b57753 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?M=C3=A1rcio=20Carlos?= Date: Tue, 12 Nov 2013 10:59:54 -0200 Subject: Update apache_mod_security.inc Stupid Error when save file ... :/ --- config/apache_mod_security-dev/apache_mod_security.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'config') diff --git a/config/apache_mod_security-dev/apache_mod_security.inc b/config/apache_mod_security-dev/apache_mod_security.inc index ad29dafa..65dab8dd 100644 --- a/config/apache_mod_security-dev/apache_mod_security.inc +++ b/config/apache_mod_security-dev/apache_mod_security.inc @@ -548,7 +548,7 @@ EOF; } // Process Status Page $mod_status = ""; - if ($setting('statuspage' == "on") { + if ($setting('statuspage') == "on") { $mod_status .= <<\n SetHandler server-status -- cgit v1.2.3 From 0ac142f7377c105a74116c7465184cce8601b421 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?M=C3=A1rcio=20Carlos?= Date: Tue, 12 Nov 2013 11:47:12 -0200 Subject: Update apache_mod_security.inc Fix EOF --- config/apache_mod_security-dev/apache_mod_security.inc | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) (limited to 'config') diff --git a/config/apache_mod_security-dev/apache_mod_security.inc b/config/apache_mod_security-dev/apache_mod_security.inc index 65dab8dd..9c123e1b 100644 --- a/config/apache_mod_security-dev/apache_mod_security.inc +++ b/config/apache_mod_security-dev/apache_mod_security.inc @@ -550,15 +550,13 @@ EOF; $mod_status = ""; if ($setting('statuspage') == "on") { $mod_status .= <<\n - SetHandler server-status - Order Deny,Allow - Deny from all - EOF; + + SetHandler server-status + Order Deny,Allow + Deny from all +EOF; $mod_status .= "Allow from ".($settings['netaccessstatus'] ? $settings['netaccessstatus'] : "All")."\n"; $mod_status .= "\n" - EOF; - } //** Uncomment to allow adding ip/ports not used by any site proxies -- cgit v1.2.3