[FOLLOWUP][TASK] Improve .htaccess files 93/40793/3
authorAndreas Fernandez <a.fernandez@scripting-base.de>
Wed, 1 Jul 2015 11:05:44 +0000 (13:05 +0200)
committerMarkus Klein <markus.klein@typo3.org>
Wed, 1 Jul 2015 22:14:34 +0000 (00:14 +0200)
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

index 2ddfe42..cd93e8f 100644 (file)
 
        # 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 ###
 
 
 
 
 </IfModule>
 
-### End: Browser caching of ressource files ###
+### End: Browser caching of resource files ###
 
 
 ### Begin: MIME types ###