Rack::Rewrite 0.2.1 Released

Rack::Rewrite 0.2.1 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

Maintenance

  • Ignore empty captures instead of failing during subsitution (thanks to Ben Brinckerhoff)
  • Play nice with Rack::Test requests which only set PATH_INFO and not REQUEST_URI (thanks to @docunext)
  • Use QUERY_STRING instead of QUERYSTRING as per Rack spec. Closes Issue #1.

Check out our other articles on Rack::Rewrite:

Rack::Rewrite 1.0.0 Released

Rack::Rewrite and Google Analytics Makes Site Transitions Seamless

Rack::Site For Site Maintenance and Downtime

You've successfully subscribed to SmartLogic Blog
Great! Next, complete checkout for full access to SmartLogic Blog
Welcome back! You've successfully signed in.
Unable to sign you in. Please try again.
Success! Your account is fully activated, you now have access to all content.
Error! Stripe checkout failed.
Success! Your billing info is updated.
Error! Billing info update failed.