aboutsummaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
Diffstat (limited to 'config')
-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