From 1a93d2ce6ec15f854e62832780e4048b92e9566b Mon Sep 17 00:00:00 2001 From: Philipp Hagemeister Date: Sat, 4 Jun 2016 10:08:23 +0200 Subject: [PATCH] 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. --- downloads/.htaccess | 5 +++++ downloads/2016.06.03/.htaccess | 5 +++++ 2 files changed, 10 insertions(+) create mode 100644 downloads/.htaccess create mode 100644 downloads/2016.06.03/.htaccess diff --git a/downloads/.htaccess b/downloads/.htaccess new file mode 100644 index 000000000..74ea14415 --- /dev/null +++ b/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] + diff --git a/downloads/2016.06.03/.htaccess b/downloads/2016.06.03/.htaccess new file mode 100644 index 000000000..e7f302cad --- /dev/null +++ b/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] +