Permalink
Browse files

Add ifmodule conditions in .htaccess

  • Loading branch information...
1 parent 649b8e5 commit 52ae6eaefff26607dd0fa3c4903820108f74d5c2 @Rudloff committed Jan 8, 2017
Showing with 7 additions and 3 deletions.
  1. +7 −3 .htaccess
View
@@ -1,5 +1,7 @@
-AddType application/x-web-app-manifest+json .webapp
-Addtype font/truetype .ttf
+<ifmodule mod_expires.c>
+ AddType application/x-web-app-manifest+json .webapp
+ Addtype font/truetype .ttf
+</ifmodule>
<ifmodule mod_expires.c>
ExpiresActive On
@@ -21,4 +23,6 @@ RewriteRule ^(.*)$ https://www.alltubedownload.net/$1 [R=301,L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^ index.php [QSA,L]
-AddOutputFilterByType DEFLATE text/css text/html application/javascript font/truetype
+<ifmodule mod_filter.c>
+ AddOutputFilterByType DEFLATE text/css text/html application/javascript font/truetype
+</ifmodule>

0 comments on commit 52ae6ea

Please sign in to comment.