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 font/truetype .ttf
</ifmodule>
@ -15,13 +15,15 @@
FileETag None
RewriteEngine On
<ifmodule mod_rewrite.c>
RewriteEngine On
RewriteCond %{HTTP_HOST} ^alltube\.herokuapp\.com$ [NC]
RewriteRule ^(.*)$ https://www.alltubedownload.net/$1 [R=301,L]
RewriteCond %{HTTP_HOST} ^alltube\.herokuapp\.com$ [NC]
RewriteRule ^(.*)$ https://www.alltubedownload.net/$1 [R=301,L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^ index.php [QSA,L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^ index.php [QSA,L]
</ifmodule>
<ifmodule mod_filter.c>
AddOutputFilterByType DEFLATE text/css text/html application/javascript font/truetype