From c9c82a956b52fddc5e07f667d61baa88ee1be23c Mon Sep 17 00:00:00 2001
From: Andreas Fernandez <a.fernandez@scripting-base.de>
Date: Wed, 1 Jul 2015 13:05:44 +0200
Subject: [PATCH] [FOLLOWUP][TASK] Improve .htaccess files
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Fix invalid syntax for mod_filter on apache 2.4 and mismatching comment
endings.

Resolves: #66235
Releases: master
Change-Id: Id4a67dab8f2fbf4d4bf9e2da4ac1c83d06b93388
Reviewed-on: http://review.typo3.org/40793
Reviewed-by: Stephan Großberndt <stephan@grossberndt.de>
Tested-by: Stephan Großberndt <stephan@grossberndt.de>
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
---
 _.htaccess | 68 +++++++++++++++++++++++++++---------------------------
 1 file changed, 34 insertions(+), 34 deletions(-)

diff --git a/_.htaccess b/_.htaccess
index 2ddfe42613ad..cd93e8f6dcd8 100644
--- a/_.htaccess
+++ b/_.htaccess
@@ -52,38 +52,38 @@
 
 	# Compress all output labeled with one of the following media types
 	<IfModule mod_filter.c>
-		AddOutputFilterByType DEFLATE "application/atom+xml" \
-			"application/javascript" \
-			"application/json" \
-			"application/ld+json" \
-			"application/manifest+json" \
-			"application/rdf+xml" \
-			"application/rss+xml" \
-			"application/schema+json" \
-			"application/vnd.geo+json" \
-			"application/vnd.ms-fontobject" \
-			"application/x-font-ttf" \
-			"application/x-javascript" \
-			"application/x-web-app-manifest+json" \
-			"application/xhtml+xml" \
-			"application/xml" \
-			"font/eot" \
-			"font/opentype" \
-			"image/bmp" \
-			"image/svg+xml" \
-			"image/vnd.microsoft.icon" \
-			"image/x-icon" \
-			"text/cache-manifest" \
-			"text/css" \
-			"text/html" \
-			"text/javascript" \
-			"text/plain" \
-			"text/vcard" \
-			"text/vnd.rim.location.xloc" \
-			"text/vtt" \
-			"text/x-component" \
-			"text/x-cross-domain-policy" \
-			"text/xml"
+		AddOutputFilterByType DEFLATE application/atom+xml \
+			application/javascript \
+			application/json \
+			application/ld+json \
+			application/manifest+json \
+			application/rdf+xml \
+			application/rss+xml \
+			application/schema+json \
+			application/vnd.geo+json \
+			application/vnd.ms-fontobject \
+			application/x-font-ttf \
+			application/x-javascript \
+			application/x-web-app-manifest+json \
+			application/xhtml+xml \
+			application/xml \
+			font/eot \
+			font/opentype \
+			image/bmp \
+			image/svg+xml \
+			image/vnd.microsoft.icon \
+			image/x-icon \
+			text/cache-manifest \
+			text/css \
+			text/html \
+			text/javascript \
+			text/plain \
+			text/vcard \
+			text/vnd.rim.location.xloc \
+			text/vtt \
+			text/x-component \
+			text/x-cross-domain-policy \
+			text/xml
 	</IfModule>
 
 	<IfModule mod_mime.c>
@@ -91,7 +91,7 @@
 	</IfModule>
 </IfModule>
 
-### End: Compression via TYPO3 ###
+### End: Compression ###
 
 
 
@@ -155,7 +155,7 @@
 
 </IfModule>
 
-### End: Browser caching of ressource files ###
+### End: Browser caching of resource files ###
 
 
 ### Begin: MIME types ###
-- 
GitLab