* redirect script links from the forums to github, but if one of the old filebot versions asks return the old groovy codes

This commit is contained in:
Reinhard Pointner 2014-05-09 12:24:17 +00:00
parent 7244e3b870
commit 0c447edb9f
1 changed files with 4 additions and 3 deletions

View File

@ -8,12 +8,13 @@ RewriteEngine on
RewriteCond %{HTTP_HOST} =filebot.sourceforge.net [NC]
RewriteRule ^(.*)$ http://www.filebot.net/$1 [R=301,L]
RewriteCond %{HTTP_USER_AGENT} !filebot [NC]
RewriteCond %{HTTP_HOST} =filebot.net [NC]
RewriteRule ^scripts\/(.*)$ https://github.com/filebot/scripts/blob/devel/$1 [R=301,L]
RewriteCond %{HTTP_HOST} =filebot.net [NC]
RewriteRule ^(.*)$ http://www.filebot.net/$1 [R=301,L]
# RewriteCond %{HTTP_HOST} =www.filebot.net [NC]
# RewriteRule ^scripts\/(.*)$ https://github.com/filebot/scripts/blob/master/$1 [R=301,L]
# compress text, html, javascript, css, xml
AddOutputFilterByType DEFLATE text/plain