aboutsummaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
Diffstat (limited to 'config')
-rw-r--r--config/apache_mod_security/apache_mod_security.inc4
-rw-r--r--config/apache_mod_security/apache_mod_security_settings.xml4
2 files changed, 4 insertions, 4 deletions
diff --git a/config/apache_mod_security/apache_mod_security.inc b/config/apache_mod_security/apache_mod_security.inc
index 6406066d..48fc0138 100644
--- a/config/apache_mod_security/apache_mod_security.inc
+++ b/config/apache_mod_security/apache_mod_security.inc
@@ -56,8 +56,8 @@ EOF;
}
// Set ServerName
- if($config['installedpackages']['apache_mod_security_settings']['config']['hostnmae']) {
- $servername = "ServerName {$config['installedpackages']['apache_mod_security_settings']['config']['hostnmae']}\n";
+ if($config['installedpackages']['apache_mod_security_settings']['config']['hostname']) {
+ $servername = "ServerName {$config['installedpackages']['apache_mod_security_settings']['config']['hostname']}\n";
else
$servername = `hostname`;
diff --git a/config/apache_mod_security/apache_mod_security_settings.xml b/config/apache_mod_security/apache_mod_security_settings.xml
index 866004d3..7ccf524f 100644
--- a/config/apache_mod_security/apache_mod_security_settings.xml
+++ b/config/apache_mod_security/apache_mod_security_settings.xml
@@ -68,8 +68,8 @@
<type>input</type>
</field>
<field>
- <fielddescr>Server hostnmae</fielddescr>
- <fieldname>hostnmae</fieldname>
+ <fielddescr>Server hostname</fielddescr>
+ <fieldname>hostname</fieldname>
<description>
<![CDATA[
Enter the servers hostname