On 07/06/2011, at 5:27 AM, Gary Thomas <[email protected]> wrote: > Thanks, is there a description somewhere of what "More flexible URL > rewriter" means in the release notes?
There is a brief description near the bottom of this page http://docs.couchbase.org/couchdb-release-1.1/index.html More flexible URL rewriter Prior to CouchDB 1.1 the rewriter could only collect variable information delimited by forward slashes. URL's like /:year/:month/:day was possible, but not /:year-:month-:day. The improved URL Rewriter in CouchDB 1.1 now supports variables within a path, so the earlier URL is now possible written as /<year>-<month>-<day>. The same format is used with the "to" and "from" portions of a rewrite rule, so the above example would look something like this (if documents were delimited with colons rather than dashes): { "from":"/<year>-<month>-<day>", "to": "_show/calendar/<year>:<month>:<day>" }
