aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2009-06-22 19:03:00 -0400
committerScott Ullrich <sullrich@pfsense.org>2009-06-22 19:03:00 -0400
commitd8ca064326698b172fac5809ea2548e1ae415064 (patch)
tree6a4aac870d486f19ad06ce5b5afd9a14733db073
parentc80ac481a64c2fe66aaa516352ac00a1cc6af8a2 (diff)
downloadpfsense-packages-d8ca064326698b172fac5809ea2548e1ae415064.tar.gz
pfsense-packages-d8ca064326698b172fac5809ea2548e1ae415064.tar.bz2
pfsense-packages-d8ca064326698b172fac5809ea2548e1ae415064.zip
Adding missing ServerName
-rw-r--r--config/apache_mod_security/apache_mod_security.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/apache_mod_security/apache_mod_security.inc b/config/apache_mod_security/apache_mod_security.inc
index d7e87d4e..baffd039 100644
--- a/config/apache_mod_security/apache_mod_security.inc
+++ b/config/apache_mod_security/apache_mod_security.inc
@@ -61,7 +61,7 @@ EOF;
if($config['installedpackages']['apachemodsecuritysettings']['config']['hostname']) {
$servername = "ServerName {$config['installedpackages']['apachemodsecuritysettings']['config'][0]['hostname']}\n";
} else {
- $servername = `hostname`;
+ $servername = `ServerName hostname`;
}
// Set global listening directive