Set CouchDB routing for URLs it doesn't understand.

Registered by Douglas Huston on 2012-10-29

Set CouchDB routing for URLs it doesn't understand. Is there a way to do this without duplicating what is written here?
 (http://blog.couchbase.com/what%E2%80%99s-new-apache-couchdb-011-%E2%80%94-part-one-nice-urls-rewrite-rules-and-virtual-hosts)
 Maybe in this.initialize we can dynamically get ddoc.rewrites, iterate through it, and dynamically create this.routes in the correct data format, which is {'url':'function_name',...}.

Blueprint information

Status:
Not started
Approver:
Tim Black
Priority:
Undefined
Drafter:
Douglas Huston
Direction:
Needs approval
Assignee:
None
Definition:
New
Series goal:
Accepted for couchapp-backbone
Implementation:
Unknown
Milestone target:
None

Related branches

Sprints

Whiteboard

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.