TinyLifeWeb/web/.htaccess

25 lines
1.2 KiB
ApacheConf
Raw Permalink Normal View History

2022-01-23 16:06:57 +01:00
ExpiresActive On
ExpiresDefault A31536000
ExpiresByType text/html A600
ExpiresByType text/javascript A2592000
ExpiresByType application/javascript A2592000
Options -Indexes
RewriteEngine On
RewriteBase /
2022-05-21 15:23:16 +02:00
RewriteRule ^about/?$ "#about" [R=301,L,NE]
RewriteRule ^devlogs/?$ "#devlogs" [R=301,L,NE]
RewriteRule ^roadmap/?$ "#roadmap" [R=301,L,NE]
2022-07-24 20:53:21 +02:00
RewriteRule ^subscribe/?$ "#subscribe" [R=301,L,NE]
2022-05-21 15:23:16 +02:00
RewriteRule ^translate/?$ "https://docs.tinylifegame.com/articles/localization.html" [R=301,L]
2021-12-01 12:03:26 +01:00
RewriteRule ^raw(/.*)?$ "https://raw.githubusercontent.com/Ellpeck/TinyLifeWeb/main$1" [R=301,L]
RewriteCond %{QUERY_STRING} "(?=.*ver=([^&]*))?(?=.*log=([^&]*))?"
RewriteRule ^feedback "https://docs.google.com/forms/d/e/1FAIpQLSfazQgG9tyo0pXcQemTzb3Z9qDAL7y6pIzsnvD3vEXJqwJKQA/viewform?usp=pp_url&entry.769753510=%1&entry.1339288296=Give+feedback+(Suggestions,+complaints+etc.)&entry.476139991=%2" [NE,R=301,L]
RewriteCond %{QUERY_STRING} "(?=.*ver=([^&]*))?(?=.*log=([^&]*))?"
RewriteRule ^bugreport "https://docs.google.com/forms/d/e/1FAIpQLSfazQgG9tyo0pXcQemTzb3Z9qDAL7y6pIzsnvD3vEXJqwJKQA/viewform?usp=pp_url&entry.769753510=%1&entry.1339288296=Report+a+bug+(Crash,+error+notification+in-game+etc.)&entry.476139991=%2" [NE,R=301,L]