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 font/truetype .ttf
|
||||
</ifmodule>
|
||||
|
@ -15,6 +15,7 @@
|
|||
|
||||
FileETag None
|
||||
|
||||
<ifmodule mod_rewrite.c>
|
||||
RewriteEngine On
|
||||
|
||||
RewriteCond %{HTTP_HOST} ^alltube\.herokuapp\.com$ [NC]
|
||||
|
@ -22,6 +23,7 @@ RewriteRule ^(.*)$ https://www.alltubedownload.net/$1 [R=301,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
|
||||
|
|
Loading…
Reference in a new issue