diff --git a/website/config.ru b/website/config.ru index fd8f01d6c5..9311cefc40 100644 --- a/website/config.ru +++ b/website/config.ru @@ -4,6 +4,11 @@ require "rack/contrib/response_headers" require "rack/contrib/static_cache" require "rack/contrib/try_static" +require "rake/rewrite" +use Rack::Rewrite do + r301 "/downloads_web_ui.html", "/downloads.html" +end + # Properly compress the output if the client can handle it. use Rack::Deflater