Return-Path: Delivered-To: apmail-couchdb-user-archive@www.apache.org Received: (qmail 93229 invoked from network); 18 Oct 2010 17:21:26 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 18 Oct 2010 17:21:26 -0000 Received: (qmail 60543 invoked by uid 500); 18 Oct 2010 17:21:25 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 60467 invoked by uid 500); 18 Oct 2010 17:21:25 -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 60459 invoked by uid 99); 18 Oct 2010 17:21:25 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 18 Oct 2010 17:21:25 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL,WEIRD_PORT X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of ido.ran@gmail.com designates 209.85.214.180 as permitted sender) Received: from [209.85.214.180] (HELO mail-iw0-f180.google.com) (209.85.214.180) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 18 Oct 2010 17:21:16 +0000 Received: by iwn41 with SMTP id 41so166591iwn.11 for ; Mon, 18 Oct 2010 10:20:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:in-reply-to :references:from:date:message-id:subject:to:content-type; bh=leVoScTYPxrQ6qZM3xQYSULOTZBy4rG+fefc+PsfTZc=; b=u8aBSoPcYBjrfHcYCO4r2+0kYYnR7f+I7UaAsHjtQgzMY0BygeOnq6yFNFODKp0Aeu 9mXjoSFxTbTrxIzoLmshpgJyWZBwJ58Isv3nVGSj0rTbGNpqJ1WTV4dUtXcyo0RUuS19 mAsC02odZbtcbjkH6pJbQ6KwFd7AGllx0qCjk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; b=OOeS4EW+BpqYDlTKwQDFpRF8bHTuSxJZG13cK9vi0w8jzIcf8jbPO2vuW0cuvHxowq LaW1OKYlq2IbGq16j2m2lODZDJ6RHW1RyiZIynNL/COU5dSCuTlwrilFe3RIjyZaSJWW q4XDgacJFOZvalfw9wBbCZoWkrCDE6pQTCECU= Received: by 10.231.169.210 with SMTP id a18mr3657178ibz.5.1287422455345; Mon, 18 Oct 2010 10:20:55 -0700 (PDT) MIME-Version: 1.0 Received: by 10.231.172.67 with HTTP; Mon, 18 Oct 2010 10:20:35 -0700 (PDT) In-Reply-To: References: From: Ido Ran Date: Mon, 18 Oct 2010 19:20:35 +0200 Message-ID: Subject: Re: VHosts and Rewrite rules To: user@couchdb.apache.org Content-Type: multipart/alternative; boundary=0050450146cc2072400492e76630 X-Virus-Checked: Checked by ClamAV on apache.org --0050450146cc2072400492e76630 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Is that valid vhosts? */app/todo It mean that http://localhost:5984/app/todos will be rewrite to todos/_design/app/_rewrite? I try to add todos.com to /etc/hosts and add todos.com=3D todos/_design/app/_rewrite but that did not work either. How can I debug this to know what is wrong? Ido On Mon, Oct 18, 2010 at 7:01 PM, Benoit Chesneau wrote= : > On Mon, Oct 18, 2010 at 6:48 PM, Ido Ran wrote: > > > I've add vhosts section to my local.ini file and there I'm not sure how > to > > redirect http://localhost:5984/todos/* to > > http://localhost:5984/todos/_design/app/_rewrite > > > > You can't unless you don't want access to the db. Better to use 2 names > > > [vhosts] > */app/todo =3D todos/_design/app/_rewrite > > for ex. > > > - beno=C3=AEt > --0050450146cc2072400492e76630--