Remove old data files
This commit is contained in:
parent
cc99f1d4d8
commit
f12fb38275
|
@ -964,7 +964,6 @@
|
||||||
<target name="upload-data" description="Upload data files" depends="init">
|
<target name="upload-data" description="Upload data files" depends="init">
|
||||||
<scp todir="${deploy.website}" trust="yes" verbose="true" sftp="true" keyfile="${deploy.keyfile}">
|
<scp todir="${deploy.website}" trust="yes" verbose="true" sftp="true" keyfile="${deploy.keyfile}">
|
||||||
<fileset dir="${dir.website}">
|
<fileset dir="${dir.website}">
|
||||||
<include name="data/*.txt" />
|
|
||||||
<include name="data/*.xz" />
|
<include name="data/*.xz" />
|
||||||
<modified>
|
<modified>
|
||||||
<param name="cache.cachefile" value="${dir.cache}/scp.cache" />
|
<param name="cache.cachefile" value="${dir.cache}/scp.cache" />
|
||||||
|
|
|
@ -30,8 +30,6 @@ redirect 302 /channel.html https://discord.gg/cKVvZ2S
|
||||||
# redirect filebot.sourceforge.net to www.filebot.net
|
# redirect filebot.sourceforge.net to www.filebot.net
|
||||||
RewriteEngine on
|
RewriteEngine on
|
||||||
|
|
||||||
RewriteCond %{HTTP_HOST} =filebot.net [NC]
|
RewriteCond %{HTTP_HOST} ^filebot\.net$ [OR]
|
||||||
RewriteRule ^(.*)$ http://www.filebot.net/$1 [R=301,L]
|
RewriteCond %{HTTP_HOST} ^filebot\.sourceforge\.net$
|
||||||
|
|
||||||
RewriteCond %{HTTP_HOST} =filebot.sourceforge.net [NC]
|
|
||||||
RewriteRule ^(.*)$ http://www.filebot.net/$1 [R=301,L]
|
RewriteRule ^(.*)$ http://www.filebot.net/$1 [R=301,L]
|
||||||
|
|
|
@ -0,0 +1,9 @@
|
||||||
|
# cache by User Agent (e.g. FileBot 4.2)
|
||||||
|
Header append Vary User-Agent
|
||||||
|
|
||||||
|
|
||||||
|
# block outdated versions
|
||||||
|
RewriteEngine on
|
||||||
|
|
||||||
|
RewriteCond %{HTTP_USER_AGENT} ^FileBot.[0-9].[0-6].*$ [NC]
|
||||||
|
RewriteRule ^(.*)$ - [G]
|
Loading…
Reference in New Issue