Rack::Rewrite 1.0.0 Released

May 13th, 2010 by

Rack::Rewrite 1.0.0 has just been released. To install simply run: gem install rack-rewrite.

Rack::Rewrite is a web-server agnostic rack middleware for defining and applying rewrite rules. In many cases you can get away with Rack::Rewrite instead of writing Apache mod_rewrite rules.

Documentation is hosted at RubyForge. The source code is hosted at GitHub.

Updates include:

API

  • Fix rack 1.1.0 / rails3 compatibility by eliminating reliance on REQUEST_URI env param. Paths are now constructed with PATH_INFO and QUERY_STRING
  • Follow rack directory/require convention: require ‘rack/rewrite’ instead of ‘rack-rewrite’
  • Include an HTML anchor tag linked to where the URL being redirected to in the body of 301′s and 302′s

Leave a Reply

John co-founded SmartLogic Solutions with Yair Flicker in May 2005. He is very actively involved with the Ruby and Rails communities, as well as the Baltimore/DC tech and business communities. Check out his GitHub Projects or follow @jtrupiano on twitter.

John Trupiano's posts


The best program is ms crm, I am fond of working with it. | wisconsin permit practice test | Chat hot girls and Chinese women