summary refs log tree commit diff
diff options
context:
space:
mode:
authorPhilipp Hagemeister <phihag@phihag.de>2016-06-04 10:08:23 +0200
committerPhilipp Hagemeister <phihag@phihag.de>2016-06-04 10:08:23 +0200
commit1a93d2ce6ec15f854e62832780e4048b92e9566b (patch)
tree8b1c4516b0c03470495f9029ebfc30f94ecaf3e4
parent86d55e2f99c5521b3067b731b17ce1656f5a9b9b (diff)
downloadyoutube-dl-1a93d2ce6ec15f854e62832780e4048b92e9566b.tar.gz
youtube-dl-1a93d2ce6ec15f854e62832780e4048b92e9566b.tar.xz
youtube-dl-1a93d2ce6ec15f854e62832780e4048b92e9566b.zip
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.
-rw-r--r--downloads/.htaccess5
-rw-r--r--downloads/2016.06.03/.htaccess5
2 files changed, 10 insertions, 0 deletions
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]
+