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