alltube/.htaccess

31 lines
902 B
ApacheConf
Raw Normal View History

2017-05-22 09:18:50 +00:00
<ifmodule mod_mime.c>
2017-01-08 23:05:49 +00:00
AddType application/x-web-app-manifest+json .webapp
Addtype font/truetype .ttf
</ifmodule>
2016-03-22 00:56:37 +00:00
2015-10-29 17:27:23 +00:00
<ifmodule mod_expires.c>
ExpiresActive On
ExpiresByType application/javascript "access plus 1 week"
ExpiresByType text/css "access plus 1 week"
ExpiresByType image/png "access plus 1 week"
ExpiresByType image/jpeg "access plus 1 week"
ExpiresByType image/svg+xml "access plus 1 week"
2016-03-22 00:56:37 +00:00
ExpiresByType font/truetype "access plus 1 week"
2015-10-29 17:27:23 +00:00
</ifmodule>
2016-03-22 00:56:37 +00:00
2015-04-10 21:50:57 +00:00
FileETag None
2016-03-22 00:56:37 +00:00
2017-05-22 09:18:50 +00:00
<ifmodule mod_rewrite.c>
RewriteEngine On
2017-05-22 09:18:50 +00:00
RewriteCond %{HTTP_HOST} ^alltube\.herokuapp\.com$ [NC]
RewriteRule ^(.*)$ https://www.alltubedownload.net/$1 [R=301,L]
2017-05-22 09:18:50 +00:00
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^ index.php [QSA,L]
</ifmodule>
2016-02-18 18:57:29 +00:00
2017-01-08 23:05:49 +00:00
<ifmodule mod_filter.c>
AddOutputFilterByType DEFLATE text/css text/html application/javascript font/truetype
</ifmodule>