aboutsummaryrefslogtreecommitdiffstats
path: root/config/apache_mod_security
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2009-06-21 21:53:01 -0400
committerScott Ullrich <sullrich@pfsense.org>2009-06-21 21:53:01 -0400
commitee36ee57be618fe0014d35c5d28ce5e65b6afe13 (patch)
tree6bd3a10900d8f26e0bb0773ec88e0fa47fa7357b /config/apache_mod_security
parent0d95ebf338b27aefc0c73dbf9c0bb47ad17cdb4f (diff)
downloadpfsense-packages-ee36ee57be618fe0014d35c5d28ce5e65b6afe13.tar.gz
pfsense-packages-ee36ee57be618fe0014d35c5d28ce5e65b6afe13.tar.bz2
pfsense-packages-ee36ee57be618fe0014d35c5d28ce5e65b6afe13.zip
Fix comments
Diffstat (limited to 'config/apache_mod_security')
-rw-r--r--config/apache_mod_security/apache_mod_security.inc4
1 files changed, 3 insertions, 1 deletions
diff --git a/config/apache_mod_security/apache_mod_security.inc b/config/apache_mod_security/apache_mod_security.inc
index 48fc0138..5ae1b198 100644
--- a/config/apache_mod_security/apache_mod_security.inc
+++ b/config/apache_mod_security/apache_mod_security.inc
@@ -61,7 +61,7 @@ EOF;
else
$servername = `hostname`;
- // Set global site namne
+ // Set global listening directive
if($config['installedpackages']['apache_mod_security_settings']['config']['globalbindtoipaddr']) {
$global_listen = "Listen " . $config['installedpackages']['apache_mod_security_settings']['config']['globalbindtoipaddr'];
if($config['installedpackages']['apache_mod_security_settings']['config']['globalbindtoport'])
@@ -75,6 +75,8 @@ EOF;
else
$global_listen .= ":80";
}
+
+ // Mod_security enabled?
if($config['installedpackages']['apache_mod_security_settings']['config']['enablemodsecurity']) {
$enable_mod_security = true;
$mod_security = <<< EOF