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/02/01 01:14:37 UTC
[Couchdb Wiki] Trivial 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=5&rev2=6
--------------------------------------------------
Examples:
- || '''Match''' || '''Url''' || '''Rewrite to''' || '''Tokens''' ||
+ || '''Rule''' || '''Url''' || '''Rewrite to''' || '''Tokens''' ||
|| {"from": "/a/b", "to": "/some/"} || /a/b?k=v || /some/b?k=v|| var =:= b <br> k = v ||
|| {"from": "/a/b", "to": "/some/:var"} || /a/b || /some/b?var=b || var =:= b ||
|| {"from": "/a", "to": "/some/*"}|| /a || /some || ||