Install ruby-rack-rewrite by entering the following commands in the terminal:
sudo apt update sudo apt install ruby-rack-rewrite
Description:
rack middleware for enforcing rewrite rules
A rack middleware for enforcing rewrite rules. In many cases you can get away with rack-rewrite instead of writing Apache mod_rewrite rules. . Use Cases - Rebuild of existing site in a new technology - Retire old routes - CNAME alternative - Site Maintenance
Homepage: https://github.com/jtrupiano/rack-rewrite
Version: 1.5.1-1
Section: universe/ruby