From d3d8b347dd7a02f4fb3014d01d7cbd1069b8663b Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Mon, 22 Jun 2009 23:39:16 -0400 Subject: Add missing \n --- config/apache_mod_security/apache_mod_security.inc | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'config/apache_mod_security') 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 .= "\n"; // End VirtualHost @@ -176,6 +176,7 @@ EOF; # with HTTP status 500 SecFilterDefaultAction "deny,log,status:500" + EOF; } -- cgit v1.2.3