Return-Path: Delivered-To: apmail-couchdb-user-archive@www.apache.org Received: (qmail 93100 invoked from network); 13 Jan 2009 04:25:35 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 13 Jan 2009 04:25:35 -0000 Received: (qmail 5484 invoked by uid 500); 13 Jan 2009 04:25:33 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 5452 invoked by uid 500); 13 Jan 2009 04:25: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 5441 invoked by uid 99); 13 Jan 2009 04:25:33 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 12 Jan 2009 20:25:32 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of jchris@gmail.com designates 64.233.170.184 as permitted sender) Received: from [64.233.170.184] (HELO rn-out-0910.google.com) (64.233.170.184) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 13 Jan 2009 04:25:23 +0000 Received: by rn-out-0910.google.com with SMTP id k50so14995589rnd.3 for ; Mon, 12 Jan 2009 20:25:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=b9mv7fOkywHwB0KMoHnAWU22+wJkhfj7IA8kPWBq6Dk=; b=BmreznUadSXY4VBUWltDT42HT8eXEhNPeZVSDSXSdJXccHNOgRK/P6Fdwx+J9CXU4Z XbKYuoIs5FWsB2BLCzSJ6PO4WC1KY11/tf3hB2qaNwHpIsZuSLDJEPHcKc2ANSCwEOD/ Cv8dxf2BTRH6hsmDE4j9vBMcsVHTflp/9xYPs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=WUhpHIiK7LfXhtuYjnkomTHHmVJACbWGrc+v91pydie6R0KoaLrSRiL4UfYR5iCWf5 0laehdwXqMZvOUrIUgaQLU5fj0QGNus/15CoS18KbjSxFsG1M7P1l7YsUmCWmXq4RuXo 6XoKqWHHACSYxWe1TljzGpDUti8hufm4tpPE4= Received: by 10.65.232.2 with SMTP id j2mr20418079qbr.19.1231820702370; Mon, 12 Jan 2009 20:25:02 -0800 (PST) Received: by 10.65.158.2 with HTTP; Mon, 12 Jan 2009 20:25:02 -0800 (PST) Message-ID: Date: Mon, 12 Jan 2009 20:25:02 -0800 From: "Chris Anderson" To: user@couchdb.apache.org Subject: Re: external 404 In-Reply-To: <64a10fff0901121953u16d168afj31f81052280abd4c@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <5aaed53f0901120631v112916eewcc50e96c44728a3d@mail.gmail.com> <5aaed53f0901121623k7f25e349uf5fe57f8e86cf36f@mail.gmail.com> <5aaed53f0901121747g5fc44e8dk1fa0efb077c3c28a@mail.gmail.com> <5aaed53f0901121918j8c99640x6c9279c62ca3a649@mail.gmail.com> <64a10fff0901121953u16d168afj31f81052280abd4c@mail.gmail.com> X-Virus-Checked: Checked by ClamAV on apache.org On Mon, Jan 12, 2009 at 7:53 PM, Dean Landolt wrote: > If it was for multiple scripts, why not allow for the pattern: > > _mypath = {couch_httpd_external, handle_external_req, ["/path/to/script/1, > "/path/to/script/2"]} > It'd be _mypath1 = {couch_httpd_external, handle_external_req, "/path/to/script/1"} _mypath2 = {couch_httpd_external, handle_external_req, "/path/to/script/2"} The reason for the old api was because it was designed to all live under the name _external. Eg: /db/_external/mypath1 /db/_external/mypath2 but that's changed. I think since the extensions won't be standardized across CouchDB installs, it's fine to let users pick their own paths. -- Chris Anderson http://jchris.mfdz.com