From user-return-11540-apmail-couchdb-user-archive=couchdb.apache.org@couchdb.apache.org Sat Jul 17 05:10:38 2010 Return-Path: Delivered-To: apmail-couchdb-user-archive@www.apache.org Received: (qmail 60506 invoked from network); 17 Jul 2010 05:10:38 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 17 Jul 2010 05:10:38 -0000 Received: (qmail 54574 invoked by uid 500); 17 Jul 2010 05:10:37 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 54055 invoked by uid 500); 17 Jul 2010 05:10:33 -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 54047 invoked by uid 99); 17 Jul 2010 05:10:32 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 17 Jul 2010 05:10:32 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of 7zark7@gmail.com designates 209.85.212.52 as permitted sender) Received: from [209.85.212.52] (HELO mail-vw0-f52.google.com) (209.85.212.52) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 17 Jul 2010 05:10:25 +0000 Received: by vws2 with SMTP id 2so4766993vws.11 for ; Fri, 16 Jul 2010 22:10:04 -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; bh=vhSTdq7oVrswWZZmmigGtNiwDrYYsof7K9ko9ZPBkIQ=; b=Lzj0PrAH4m07fb0t7Pv5q1nRVuZZAC0YNw2fgDB2s5Dnb35jfQ+qcCXnd1BVLEICnT uvRVL+cm/FThoz4V+FliQ/7CAz0Flb+Do2s8sG6VHi1ir4N4wxoi1tjWZQKAPpnZOU8U lNQd5bwBPQvxhirftLT3ofyeim+fvvVZazX9k= 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; b=wmhoaJI8dVWL6zZ2vTfQx2jhw7kAJq2SvO3ei3zhjWGvUmF6LSSNNSjrMd1ZOo1Coj M6k7N0Zn+vHaMCr8vf7iXR6N6EQGXl0f2tRVYKhL6oNniwU29NdvglKQwvY8PFJ+pHoi xrTPhnofyhsvBm8pj5GViQ1icpBv0XIQG/dO4= MIME-Version: 1.0 Received: by 10.220.75.200 with SMTP id z8mr1132570vcj.57.1279343403960; Fri, 16 Jul 2010 22:10:03 -0700 (PDT) Received: by 10.220.195.13 with HTTP; Fri, 16 Jul 2010 22:10:03 -0700 (PDT) In-Reply-To: <67887364-AAAD-4C37-8EFA-90C3B014F0BB@gmail.com> References: <67887364-AAAD-4C37-8EFA-90C3B014F0BB@gmail.com> Date: Fri, 16 Jul 2010 22:10:03 -0700 Message-ID: Subject: Re: insecure_rewrite_rule From: Anh <7zark7@gmail.com> To: user@couchdb.apache.org Content-Type: text/plain; charset=ISO-8859-1 X-Virus-Checked: Checked by ClamAV on apache.org Thanks for the explanation Chris On Fri, Jul 16, 2010 at 11:16 AM, J Chris Anderson wrote: > > On Jul 15, 2010, at 9:16 PM, Anh wrote: > >> Hi, what does this error mean? >> insecure_rewrite_rule [<<"..">>,<<"..">>,<<"..">>,<<"database">>,<<>>] blocked >> >> What are the rules for allowed rewrites? >> > > The point of this is to keep you from rewriting to another database without knowing what you are doing. (So that a sysadmin can be assured that couchapps can be "jailed" in subdomains.) > > You can turn this off in the configuration system by setting secure_rewrites=false > > Chris > >> Thanks > >