aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlgcosta <lgcosta@pfsense.org>2011-03-24 15:17:17 -0300
committerlgcosta <lgcosta@pfsense.org>2011-03-24 15:17:17 -0300
commitc8936da3f5254d614cfa5324480f6962e89a73b1 (patch)
treec32a6ce598190182ccaae2241b14c627c3077872
parent0b6b7c9d3b616393244d56e3f7ddd695a17b92b2 (diff)
downloadpfsense-packages-c8936da3f5254d614cfa5324480f6962e89a73b1.tar.gz
pfsense-packages-c8936da3f5254d614cfa5324480f6962e89a73b1.tar.bz2
pfsense-packages-c8936da3f5254d614cfa5324480f6962e89a73b1.zip
removed the definition of the firewall host, leaving the empty input box it defined the bind only to the hostname and not for everyone (*) as the tip of the input
-rw-r--r--config/apache_mod_security/apache_mod_security.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/config/apache_mod_security/apache_mod_security.inc b/config/apache_mod_security/apache_mod_security.inc
index 82fc5a5a..af8159bf 100644
--- a/config/apache_mod_security/apache_mod_security.inc
+++ b/config/apache_mod_security/apache_mod_security.inc
@@ -176,7 +176,7 @@ function generate_apache_configuration() {
else
$global_listen .= ":80";
} else {
- $config['installedpackages']['apachemodsecuritysettings']['config'][0]['globalbindtoipaddr'] = "{$config['system']['hostname']}.{$config['system']['domain']}";
+ $config['installedpackages']['apachemodsecuritysettings']['config'][0]['globalbindtoipaddr'] = "";
$global_listen = $config['installedpackages']['apachemodsecuritysettings']['config'][0]['globalbindtoipaddr'];
// update configuration with default value in this case
write_config($pkg['addedit_string']);
@@ -1017,4 +1017,4 @@ EOF;
fclose($fd);
}
-?> \ No newline at end of file
+?>