aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--config/apache_mod_security-dev/apache_mod_security.inc14
1 files changed, 6 insertions, 8 deletions
diff --git a/config/apache_mod_security-dev/apache_mod_security.inc b/config/apache_mod_security-dev/apache_mod_security.inc
index ad29dafa..9c123e1b 100644
--- a/config/apache_mod_security-dev/apache_mod_security.inc
+++ b/config/apache_mod_security-dev/apache_mod_security.inc
@@ -548,17 +548,15 @@ EOF;
}
// Process Status Page
$mod_status = "";
- if ($setting('statuspage' == "on") {
+ if ($setting('statuspage') == "on") {
$mod_status .= <<<EOF
- <Location /server-status>\n
- SetHandler server-status
- Order Deny,Allow
- Deny from all
- EOF;
+<Location /server-status>
+ SetHandler server-status
+ Order Deny,Allow
+ Deny from all
+EOF;
$mod_status .= "Allow from ".($settings['netaccessstatus'] ? $settings['netaccessstatus'] : "All")."\n";
$mod_status .= "</Location>\n"
- EOF;
-
}
//** Uncomment to allow adding ip/ports not used by any site proxies