Fix conditions in .htaccess

This commit is contained in:
Pierre Rudloff 2017-05-22 11:18:50 +02:00
parent 77fe2cb101
commit 6b1351a1cf

View file

@ -1,4 +1,4 @@
<ifmodule mod_expires.c> <ifmodule mod_mime.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>
@ -15,6 +15,7 @@
FileETag None FileETag None
<ifmodule mod_rewrite.c>
RewriteEngine On RewriteEngine On
RewriteCond %{HTTP_HOST} ^alltube\.herokuapp\.com$ [NC] RewriteCond %{HTTP_HOST} ^alltube\.herokuapp\.com$ [NC]
@ -22,6 +23,7 @@ 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>
<ifmodule mod_filter.c> <ifmodule mod_filter.c>
AddOutputFilterByType DEFLATE text/css text/html application/javascript font/truetype AddOutputFilterByType DEFLATE text/css text/html application/javascript font/truetype