diff --git a/lib/private/Setup.php b/lib/private/Setup.php
index 3fbfc3da2ba1e8986a702f66770756f7337f06c5..e360319c5b6ce10eebd98db9ba641960d3ee93ec 100644
--- a/lib/private/Setup.php
+++ b/lib/private/Setup.php
@@ -547,7 +547,7 @@ class Setup {
 		$content .= "  Require all denied\n";
 		$content .= "</IfModule>\n";
 		$content .= "<IfModule mod_access_compat.c>\n";
-		$content .= "  Order Allow,Deny";
+		$content .= "  Order Allow,Deny\n";
 		$content .= "  Deny from all\n";
 		$content .= "  Satisfy All\n";
 		$content .= "</IfModule>\n\n";
@@ -555,7 +555,7 @@ class Setup {
 		$content .= "<IfModule !mod_authz_core.c>\n";
 		$content .= "  <IfModule !mod_access_compat.c>\n";
 		$content .= "    <IfModule mod_authz_host.c>\n";
-		$content .= "      Order Allow,Deny";
+		$content .= "      Order Allow,Deny\n";
 		$content .= "      Deny from all\n";
 		$content .= "    <IifModule>\n";
 		$content .= "    Satisfy All\n";