Redirect current version to GitHub releases

Our hoster uberspace noted that we're by far exceeding our traffic limit.
For now, redirect everything to GitHub releases.
This commit is contained in:
Philipp Hagemeister 2016-06-04 10:08:23 +02:00
parent 86d55e2f99
commit 1a93d2ce6e
2 changed files with 10 additions and 0 deletions

5
downloads/.htaccess Normal file
View file

@ -0,0 +1,5 @@
RewriteEngine On
RewriteRule ^$ https://github.com/rg3/youtube-dl/releases
RewriteRule latest(.*) /downloads/2016.06.03$1 [L,R=302]

View file

@ -0,0 +1,5 @@
RewriteEngine On
RewriteRule ^$ https://github.com/rg3/youtube-dl/releases/tag/2016.06.03_tmp [R=302,L]
RewriteRule ^(.+)$ https://github.com/rg3/youtube-dl/releases/download/2016.06.03_tmp/$1 [R=302,L]