You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by Apache Wiki <wi...@apache.org> on 2010/03/07 10:09:53 UTC

[Couchdb Wiki] Update of "Rewriting_urls" by BenoitC

Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Couchdb Wiki" for change notification.

The "Rewriting_urls" page has been changed by BenoitC.
http://wiki.apache.org/couchdb/Rewriting_urls?action=diff&rev1=9&rev2=10

--------------------------------------------------

  || {"from": "/a/:foo", "to": "/some",  "query": {  "k": ":foo"  }} ||  /a/b ||          /some/?k=b&foo=b ||   foo =:= b ||
  || {"from": "/a",  "to": "/some/:foo" } ||        /a?foo=b  ||      /some/b&foo=b  ||           foo = b ||
  
+ 
+ Paths are relative to the design doc, so "/" mean the design doc too and "../" mean the path above the design doc and so on.
+