couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Couchdb Wiki] Update of "Rewriting_urls" by BenoitC
Date Sun, 31 Jan 2010 23:30:56 GMT
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=2&rev2=3

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

- 
  = The http rewrite handler = 
  
  The http rewrite handler. All rewriting is done from 
@@ -25, +24 @@

  
  }}}
  
-  * '''from''': is the path rule used to bind current uri to the rule. It 
+  * '''from''': is the path rule used to bind current uri to the rule. It use pattern matching
for that.
+  * '''to''': rule to rewrite an url. It can contain variables depending on binding variables
discovered during pattern matching and query args (url args and from the query member.)
- use pattern matching for that.
- 
-  * '''to''': rule to rewrite an url. It can contain variables depending on binding
- variables discovered during pattern matching and query args (url args and from
- the query member.)
- 
   * '''method''': method to bind the request method to the rule. by default "*"
-  * '''query''': query args you want to define they can contain dynamic variable
+  * '''query''': query args you want to define they can contain dynamic variable by binding
the key to the bindings
- by binding the key to the bindings
- 
  
  to and from are path with  patterns. pattern can be string starting with ":" or
  "*". ex:

Mime
View raw message