filebot/website/.htaccess

47 lines
2.4 KiB
ApacheConf

# redirect to download links
redirect 302 /files/FileBot_Subtitles.pkg https://downloads.sourceforge.net/project/filebot/filebot/LATEST/FileBot_Subtitles.pkg
redirect 302 /files/ https://downloads.sourceforge.net/filebot/
# redirect donate page
redirect 302 /donate.html https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=rednoah%40filebot%2enet&lc=US&item_name=FileBot%20Support&currency_code=EUR&bn=PP%2dDonationsBF%3abtn_donate_SM%2egif%3aNonHosted
# redirect to support pages
redirect 302 /amc.html https://www.filebot.net/forums/viewtopic.php?f=4&t=215
redirect 302 /manual.html https://www.filebot.net/forums/viewtopic.php?f=3&t=7
redirect 302 /report.html https://www.filebot.net/forums/viewforum.php?f=6
redirect 302 /help.html https://www.filebot.net/forums/viewtopic.php?f=5&t=1868
redirect 302 /support.html https://www.filebot.net/forums/viewforum.php?f=8
redirect 302 /windows/support.html https://www.filebot.net/forums/viewforum.php?f=10
redirect 302 /mac/support.html https://www.filebot.net/forums/viewforum.php?f=12
redirect 302 /mac/subtitles.html https://www.filebot.net/forums/viewtopic.php?f=12&t=3350
redirect 302 /mac/brew.html https://www.filebot.net/forums/viewtopic.php?f=4&t=2049
redirect 302 /syno/support.html https://www.filebot.net/forums/viewforum.php?f=13
redirect 302 /syno/manual.html https://www.filebot.net/forums/viewtopic.php?f=13&t=1802
redirect 302 /channel.html https://discord.gg/cKVvZ2S
# redirect forums links
redirect 302 /forums/rules.php https://www.filebot.net/forums/viewtopic.php?f=5&t=1868
redirect 302 /forums/faq.php https://www.filebot.net/forums/viewtopic.php?f=3&t=7
redirect 302 /forums/help/faq https://www.filebot.net/forums/viewtopic.php?f=3&t=7
# disable directory index
Options -Indexes
# cache static resources
ExpiresActive on
ExpiresByType text/plain "access plus 1 week"
ExpiresByType text/css "access plus 1 week"
ExpiresByType application/javascript "access plus 1 week"
ExpiresByType application/json "access plus 1 week"
ExpiresByType application/xml "access plus 1 week"
ExpiresByType image/svg+xml "access plus 1 week"
ExpiresByType image/png "access plus 1 week"
ExpiresByType image/gif "access plus 1 week"
ExpiresByType image/png "access plus 1 week"
ExpiresByType application/x-xz "access plus 1 week"
ExpiresByType image/x-icon "access plus 1 year"