Add ifmodule conditions in .htaccess
This commit is contained in:
parent
649b8e5351
commit
52ae6eaeff
1 changed files with 7 additions and 3 deletions
|
@ -1,5 +1,7 @@
|
||||||
|
<ifmodule mod_expires.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 mod_expires.c>
|
<ifmodule mod_expires.c>
|
||||||
ExpiresActive On
|
ExpiresActive On
|
||||||
|
@ -21,4 +23,6 @@ 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 mod_filter.c>
|
||||||
AddOutputFilterByType DEFLATE text/css text/html application/javascript font/truetype
|
AddOutputFilterByType DEFLATE text/css text/html application/javascript font/truetype
|
||||||
|
</ifmodule>
|
||||||
|
|
Loading…
Reference in a new issue