Re-add +Indexes

This commit is contained in:
Philipp Hagemeister 2014-04-30 10:34:58 +02:00
parent 17e311adf0
commit 0b33704b43
2 changed files with 5 additions and 2 deletions

View File

@ -1,5 +1,7 @@
Options +Indexes
RewriteEngine On RewriteEngine On
RewriteRule ^ip/?$ ip.php RewriteRule ^ip/?$ ip.php
RewriteRule ^bugs?/? https://github.com/rg3/youtube-dl/issues [R=302,L] 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 ^reporting/? https://github.com/rg3/youtube-dl/blob/master/README.md#bugs [R=302,L,NE]

View File

@ -14,6 +14,7 @@ ln -sf --no-target-directory ../downloads/$version latest/directory
for f in $(ls "downloads/$version/"); do \ for f in $(ls "downloads/$version/"); do \
ln -sf --no-target-directory "../downloads/$version/$f" latest/$(echo $f | sed -e "s@-$version@@") ln -sf --no-target-directory "../downloads/$version/$f" latest/$(echo $f | sed -e "s@-$version@@")
done done
ln -sf --no-target-directory "downloads/$version" "downloads/latest"
ln -sf --no-target-directory "$version" "downloads/latest"
echo -n "$version" > latest/version echo -n "$version" > latest/version