Return-Path: Delivered-To: apmail-couchdb-commits-archive@www.apache.org Received: (qmail 35427 invoked from network); 3 Feb 2010 17:49:55 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 3 Feb 2010 17:49:55 -0000 Received: (qmail 97496 invoked by uid 500); 3 Feb 2010 17:49:53 -0000 Delivered-To: apmail-couchdb-commits-archive@couchdb.apache.org Received: (qmail 97448 invoked by uid 500); 3 Feb 2010 17:49:53 -0000 Mailing-List: contact commits-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@couchdb.apache.org Delivered-To: mailing list commits@couchdb.apache.org Received: (qmail 97394 invoked by uid 500); 3 Feb 2010 17:49:52 -0000 Delivered-To: apmail-incubator-couchdb-commits@incubator.apache.org Received: (qmail 97389 invoked by uid 99); 3 Feb 2010 17:49:52 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 03 Feb 2010 17:49:52 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.130] (HELO eos.apache.org) (140.211.11.130) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 03 Feb 2010 17:49:50 +0000 Received: from eos.apache.org (localhost [127.0.0.1]) by eos.apache.org (Postfix) with ESMTP id 7467016E24; Wed, 3 Feb 2010 17:49:29 +0000 (GMT) MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable From: Apache Wiki To: Apache Wiki Date: Wed, 03 Feb 2010 17:49:29 -0000 Message-ID: <20100203174929.17723.14679@eos.apache.org> Subject: =?utf-8?q?=5BCouchdb_Wiki=5D_Update_of_=22Rewriting=5Furls=22_by_BenoitC?= X-Virus-Checked: Checked by ClamAV on apache.org Dear Wiki user, You have subscribed to a wiki page or wiki category on "Couchdb Wiki" for c= hange notification. The "Rewriting_urls" page has been changed by BenoitC. http://wiki.apache.org/couchdb/Rewriting_urls?action=3Ddiff&rev1=3D8&rev2= =3D9 -------------------------------------------------- Examples: = || '''Rule''' || '''Url''' || '''Rewrite to''' || '''Tokens''' || - || {"from": "/a/b", "to": "/some/"} || /a/b?k=3Dv || /some= /b?k=3Dv|| var =3D b k =3D v || + || {"from": "/a/b", "to": "/some/"} || /a/b?k=3Dv || /some= /k=3Dv|| k =3D v || || {"from": "/a/b", "to": "/some/:var"} || /a/b || /= some/b?var=3Db || var =3D b || || {"from": "/a", "to": "/some/*"}|| /a || /some= || || || {"from": "/a/*", "to": "/some/*} || /a/b/c || /some/= b/c || ||