From 6b1351a1cfcbd35847f495f7b74de2cbeb43e810 Mon Sep 17 00:00:00 2001 From: Pierre Rudloff Date: Mon, 22 May 2017 11:18:50 +0200 Subject: [PATCH] Fix conditions in .htaccess --- .htaccess | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/.htaccess b/.htaccess index 32a41b4..6487a7c 100644 --- a/.htaccess +++ b/.htaccess @@ -1,4 +1,4 @@ - + AddType application/x-web-app-manifest+json .webapp Addtype font/truetype .ttf @@ -15,13 +15,15 @@ FileETag None -RewriteEngine On + + 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] + AddOutputFilterByType DEFLATE text/css text/html application/javascript font/truetype