aboutsummaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorMarcello Coutinho <marcellocoutinho@gmail.com>2013-11-12 07:52:23 -0800
committerMarcello Coutinho <marcellocoutinho@gmail.com>2013-11-12 07:52:23 -0800
commita2a009af0b286015df32d3411de5bb5ee7f5a05e (patch)
treed1c0bf215a69a4cf0c61b22602620ae89d597f5f /config
parent9231e71d85b2cd95419b40ff21b80613d09be913 (diff)
parent0ac142f7377c105a74116c7465184cce8601b421 (diff)
downloadpfsense-packages-a2a009af0b286015df32d3411de5bb5ee7f5a05e.tar.gz
pfsense-packages-a2a009af0b286015df32d3411de5bb5ee7f5a05e.tar.bz2
pfsense-packages-a2a009af0b286015df32d3411de5bb5ee7f5a05e.zip
Merge pull request #540 from djgel/patch-7
Patch 7
Diffstat (limited to 'config')
-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