summary refs log tree commit diff
diff options
context:
space:
mode:
-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]
+