summary refs log tree commit diff
path: root/.htaccess
blob: 6ac7910b224ee3dfdef1b1b96066a21c3475af02 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
Options +Indexes

RewriteEngine On
RewriteRule ^ip/?$ ip.php

RewriteRule ^bugs?/? https://github.com/rg3/youtube-dl/issues [R=302,L]
RewriteRule ^reporting/? https://github.com/rg3/youtube-dl/blob/master/README.md#bugs [R=302,L,NE]
RewriteRule ^update$ https://github.com/rg3/youtube-dl/blob/master/README.md#how-do-i-update-youtube-dl [R=302,L,NE]
RewriteRule ^donat(e|ions)$ https://rg3.github.io/youtube-dl/donations.html [R=302,L]
RewriteRule ^(faq-)?anime$ https://github.com/rg3/youtube-dl/blob/master/README.md#can-you-add-support-for-this-anime-video-site-or-site-which-shows-current-movies-for-free [R=302,L,NE]
RewriteRule ^(faq-)?citw$ https://github.com/rg3/youtube-dl/blob/master/README.md#do-i-always-have-to-pass-in---max-quality-format-or--citw [R=302,L,NE]
RewriteRule ^example-url$ https://github.com/rg3/youtube-dl/blob/master/CONTRIBUTING.md#is-the-description-of-the-issue-itself-sufficient [R=302,L,NE]
RewriteRule ^g403$ https://github.com/rg3/youtube-dl/blob/master/README.md#i-extracted-a-video-url-with--g-but-it-does-not-play-on-another-machine--in-my-webbrowser [R=302,L,NE]
 
RewriteRule ^latest/version$ latest_version [L,T=text/plain]
RewriteRule ^latest_version$ - [T=text/plain]
RewriteRule ^latest(?:/(.*))?$ /downloads/latest/$1 [R=302,L]

ErrorDocument 302 "302"