aboutsummaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2009-06-21 21:27:24 -0400
committerScott Ullrich <sullrich@pfsense.org>2009-06-21 21:27:24 -0400
commit0d95ebf338b27aefc0c73dbf9c0bb47ad17cdb4f (patch)
tree620a0020bfc7bce33d327487f18d3ccf4a268591 /config
parent1af4dfa9997c6921e75c92720113d17489757d92 (diff)
downloadpfsense-packages-0d95ebf338b27aefc0c73dbf9c0bb47ad17cdb4f.tar.gz
pfsense-packages-0d95ebf338b27aefc0c73dbf9c0bb47ad17cdb4f.tar.bz2
pfsense-packages-0d95ebf338b27aefc0c73dbf9c0bb47ad17cdb4f.zip
Correct hostname
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