aboutsummaryrefslogtreecommitdiffstats
path: root/config/apache_mod_security-dev
diff options
context:
space:
mode:
authorMárcio Carlos <marcioc.antao@gmail.com>2013-11-12 11:47:12 -0200
committerMárcio Carlos <marcioc.antao@gmail.com>2013-11-12 11:47:12 -0200
commit0ac142f7377c105a74116c7465184cce8601b421 (patch)
tree175a8b7cf82b3a08a377b36ff389a8c8dad89a93 /config/apache_mod_security-dev
parentfee47e0c9c3798c8e39aa29472f5036f62b57753 (diff)
downloadpfsense-packages-0ac142f7377c105a74116c7465184cce8601b421.tar.gz
pfsense-packages-0ac142f7377c105a74116c7465184cce8601b421.tar.bz2
pfsense-packages-0ac142f7377c105a74116c7465184cce8601b421.zip
Update apache_mod_security.inc
Fix EOF
Diffstat (limited to 'config/apache_mod_security-dev')
-rw-r--r--config/apache_mod_security-dev/apache_mod_security.inc12
1 files changed, 5 insertions, 7 deletions
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 .= <<<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