aboutsummaryrefslogtreecommitdiffstats
path: root/config/apache_mod_security
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2009-06-22 23:39:16 -0400
committerScott Ullrich <sullrich@pfsense.org>2009-06-22 23:39:16 -0400
commitd3d8b347dd7a02f4fb3014d01d7cbd1069b8663b (patch)
tree01a66fba171ef10c0531e64291b6170eb95f1d98 /config/apache_mod_security
parent20b4a9a944fc2e3c75ce40c41a1fb026dcaa98cb (diff)
downloadpfsense-packages-d3d8b347dd7a02f4fb3014d01d7cbd1069b8663b.tar.gz
pfsense-packages-d3d8b347dd7a02f4fb3014d01d7cbd1069b8663b.tar.bz2
pfsense-packages-d3d8b347dd7a02f4fb3014d01d7cbd1069b8663b.zip
Add missing \n
Diffstat (limited to 'config/apache_mod_security')
-rw-r--r--config/apache_mod_security/apache_mod_security.inc7
1 files changed, 4 insertions, 3 deletions
diff --git a/config/apache_mod_security/apache_mod_security.inc b/config/apache_mod_security/apache_mod_security.inc
index c1b345b1..d5598c2c 100644
--- a/config/apache_mod_security/apache_mod_security.inc
+++ b/config/apache_mod_security/apache_mod_security.inc
@@ -129,14 +129,14 @@ EOF;
$sitename = ""; // we are not using sitename in this case
}
if($additionalsitehostnames)
- $mod_proxy .= " ServerAlias $additionalsitehostnames";
+ $mod_proxy .= " ServerAlias $additionalsitehostnames\n";
if($serveradmin)
$mod_proxy .= " ServerAdmin $serveradmin\n";
if($primarysitehostname)
$mod_proxy .= " ServerName $primarysitehostname \n";
if($backend_sites) {
- $mod_proxy .= "ProxyPassReverse /{$sitename} {$backend_sites}\n";
- $mod_proxy .= "ProxyPass / {$backend_sites}\n";
+ $mod_proxy .= " ProxyPassReverse /{$sitename} {$backend_sites}\n";
+ $mod_proxy .= " ProxyPass / {$backend_sites}\n";
}
$mod_proxy .= "</VirtualHost>\n";
// End VirtualHost
@@ -176,6 +176,7 @@ EOF;
# with HTTP status 500
SecFilterDefaultAction "deny,log,status:500"
</IfModule>
+
EOF;
}