is a middleware for defining and applying rewrite rules. Though it’s not a full replacement for , a great deal of rules I’ve previously written in Apache config files can be replaced by Rack::Rewrite. Run gem install rack-rewrite to install the gem.
I typically leverage rewrite rules to take my sites offline for maintenance. Most users will be familiar with the following Apache rewrite ruleset.
Read the rest of this entry »