Return-Path: X-Original-To: apmail-couchdb-user-archive@www.apache.org Delivered-To: apmail-couchdb-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id D22F92F5C for ; Wed, 27 Apr 2011 06:19:51 +0000 (UTC) Received: (qmail 37163 invoked by uid 500); 27 Apr 2011 06:19:50 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 36747 invoked by uid 500); 27 Apr 2011 06:19:49 -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 36735 invoked by uid 99); 27 Apr 2011 06:19:48 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 27 Apr 2011 06:19:48 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [209.85.161.52] (HELO mail-fx0-f52.google.com) (209.85.161.52) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 27 Apr 2011 06:19:42 +0000 Received: by fxm6 with SMTP id 6so1558274fxm.11 for ; Tue, 26 Apr 2011 23:19:19 -0700 (PDT) Received: by 10.223.33.80 with SMTP id g16mr1851205fad.125.1303885159101; Tue, 26 Apr 2011 23:19:19 -0700 (PDT) Received: from [192.168.2.103] (dslb-088-075-132-198.pools.arcor-ip.net [88.75.132.198]) by mx.google.com with ESMTPS id 23sm122789fay.4.2011.04.26.23.19.17 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 26 Apr 2011 23:19:17 -0700 (PDT) Subject: Re: Simple rewrite rule help From: "Johannes J. Schmidt" To: user@couchdb.apache.org In-Reply-To: References: <1303849403.1944.23.camel@jolap> Content-Type: multipart/signed; micalg="pgp-sha1"; protocol="application/pgp-signature"; boundary="=-FrSyIiAVAubBewQisHPo" Organization: Netzmerk Date: Wed, 27 Apr 2011 08:19:16 +0200 Message-ID: <1303885156.1944.29.camel@jolap> Mime-Version: 1.0 X-Mailer: Evolution 2.28.3 --=-FrSyIiAVAubBewQisHPo Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Am Mittwoch, den 27.04.2011, 07:46 +0200 schrieb Benoit Chesneau: > On Tuesday, April 26, 2011, Johannes J. Schmidt wr= ote: > > Am Dienstag, den 26.04.2011, 14:00 -0600 schrieb Ryan Ramage: > >> Great, and can it be done with one generic rule, with a variable? > >> > >> something like: > >> hostname.com:/${db} =3D ${db}/_design/app/_rewrite > > > > From my knowing there is no variable substitution inside vhosts > > definitions. > > > > I am using kind of a route document with the rule > > { > > "from": "/:db", > > "to": "../../../:db/_design/app/_rewrite" > > } > > and a vhost definition like > > hostname.com =3D master/_design/router/_rewrite > > to achieve that. > > > > g jo > > > > >=20 > There is but not in paths :) >=20 > benoit Could you point me to some documentation about that feature? g jo --=-FrSyIiAVAubBewQisHPo Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Dies ist ein digital signierter Nachrichtenteil -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iEYEABECAAYFAk23tWQACgkQpEGMYf+sPIkyVQCff1Wk8EKRzsYz4oKSA3OTJAmo hw4AnjXNwxZiJQExOGBI7qqid3aHs8iY =MduV -----END PGP SIGNATURE----- --=-FrSyIiAVAubBewQisHPo--