Browse Source

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.
Philipp Hagemeister 9 years ago
parent
commit
1a93d2ce6e
2 changed files with 10 additions and 0 deletions
  1. 5 0
      downloads/.htaccess
  2. 5 0
      downloads/2016.06.03/.htaccess

+ 5 - 0
downloads/.htaccess

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

+ 5 - 0
downloads/2016.06.03/.htaccess

@@ -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]
+