Fix conditions in .htaccess
This commit is contained in:
parent
77fe2cb101
commit
6b1351a1cf
1 changed files with 8 additions and 6 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue