Add ifmodule conditions in .htaccess

This commit is contained in:
Pierre Rudloff 2017-01-09 00:05:49 +01:00
parent 649b8e5351
commit 52ae6eaeff

View file

@ -1,5 +1,7 @@
<ifmodule mod_expires.c>
AddType application/x-web-app-manifest+json .webapp AddType application/x-web-app-manifest+json .webapp
Addtype font/truetype .ttf Addtype font/truetype .ttf
</ifmodule>
<ifmodule mod_expires.c> <ifmodule mod_expires.c>
ExpiresActive On ExpiresActive On
@ -21,4 +23,6 @@ RewriteRule ^(.*)$ https://www.alltubedownload.net/$1 [R=301,L]
RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^ index.php [QSA,L] RewriteRule ^ index.php [QSA,L]
<ifmodule mod_filter.c>
AddOutputFilterByType DEFLATE text/css text/html application/javascript font/truetype AddOutputFilterByType DEFLATE text/css text/html application/javascript font/truetype
</ifmodule>