couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Aurélien Bénel <>
Subject Re: Rewriting a parameterized URL
Date Sat, 05 Jun 2010 19:08:33 GMT
> All parameters are passed after that or at least was.

It is indeed the problem. They are passed *unchanged*. Therefore it is impossible to "rewrite"
them. Moreover, variables don't seem to be bound to parameters with the same name.

As a matter of fact, after your first advice, I changed my rule to:
  "from": "/item",
  "to": "_list/mapping/kwic",
  "query": {
    "startkey": [":corpus"],
    "endkey": [":corpus",{}]

was rewritten to

instead of

> I will check it later tonight anyway.



View raw message