alltube/.htaccess

41 lines
1.3 KiB
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>
<IfModule mod_deflate.c>
AddOutputFilterByType DEFLATE text/css text/html application/javascript font/truetype
</IfModule>
2017-01-08 23:05:49 +00:00
</ifmodule>
<ifmodule mod_headers.c>
Header set X-Frame-Options DENY
Header set X-Content-Type-Options nosniff
Header set X-XSS-Protection "1; mode=block"
Header set Referrer-Policy no-referrer
2020-03-23 20:35:16 +00:00
Header add Link "</css/fonts.css>; rel=preload, </css/style.css>; rel=preload" "expr=%{CONTENT_TYPE} =~ m#text/html#"
</ifmodule>