Return-Path: Delivered-To: apmail-couchdb-user-archive@www.apache.org Received: (qmail 44032 invoked from network); 5 Jun 2010 15:21:01 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 5 Jun 2010 15:21:01 -0000 Received: (qmail 22521 invoked by uid 500); 5 Jun 2010 15:21:00 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 22412 invoked by uid 500); 5 Jun 2010 15:20:59 -0000 Mailing-List: contact user-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@couchdb.apache.org Delivered-To: mailing list user@couchdb.apache.org Received: (qmail 22404 invoked by uid 99); 5 Jun 2010 15:20:59 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 05 Jun 2010 15:20:59 +0000 X-ASF-Spam-Status: No, hits=-0.9 required=10.0 tests=AWL,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of bchesneau@gmail.com designates 209.85.222.195 as permitted sender) Received: from [209.85.222.195] (HELO mail-pz0-f195.google.com) (209.85.222.195) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 05 Jun 2010 15:20:55 +0000 Received: by pzk33 with SMTP id 33so2583060pzk.17 for ; Sat, 05 Jun 2010 08:20:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=WjNbDxBOiod5GmiiEFY1emi0v2EA1uBFrr52RfTN3PU=; b=Fg3zR1mHFkN3PtrM1PbuOvJQu+bbL4duHJ6nthW7kHuxoVUIra171nOyE9WnlrFQFC Eg/RTDMYqEmSeZqucNkGfsTBGjZuV4MCFNjHGyDA3lOmUOwv0HFm4FcFJFEwyJfjHPKk XPFjpsOL/LBL/tQvjc91ESVJIv0hMXC6xDvUo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=yH79CPiiQdOASWhQ2rK/9E179KwbtfuW/QuRaoHsuiWBTk2W4D2ZuY2kWqEjijIDFL wdKaVuyDEKOMHpCf/LXB17yOkUfOW+r7Za9lpM3WdQbWU3r2ixb+oQ01nYbIGPk8LtkW RysTnQDWMZqhThTnvH+25Y+tLjw/j8fRNAv7k= MIME-Version: 1.0 Received: by 10.141.13.7 with SMTP id q7mr10170303rvi.67.1275751235205; Sat, 05 Jun 2010 08:20:35 -0700 (PDT) Received: by 10.141.27.20 with HTTP; Sat, 5 Jun 2010 08:20:35 -0700 (PDT) In-Reply-To: <0098226C-23F3-46BF-812A-3F205DDB09CE@utt.fr> References: <32D81ADB-311F-43E3-94A7-A4BEBF6A3D4C@utt.fr> <0098226C-23F3-46BF-812A-3F205DDB09CE@utt.fr> Date: Sat, 5 Jun 2010 17:20:35 +0200 Message-ID: Subject: Re: Rewriting a parameterized URL From: Benoit Chesneau To: user@couchdb.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On Sat, Jun 5, 2010 at 3:23 PM, Aur=E9lien B=E9nel = wrote: >> remove the ":corpus" in rule and just use :corpus. > > Sorry not being explicit enough, but that was I tried in the last post. > >> Think it would work. If in the same ytime you could open a ticket ? I wi= ll try to fix >> it during the week-end . > > > OK, I will. > > > Regards, > > Aur=E9lien I mean without using ?parameter=3D... in the rule, which won't work for sure. Using :corpus and passing corpus=3Dblah in url should work. At least unitests pass :/ http://github.com/benoitc/couchdb/blob/master/share/www/script/test/rewrite= .js#L300 beno=EEt